From 22c6f02cc9daa5b7c5941c53bb051b3a2e953cfa Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 4 Dec 2018 02:47:35 +0100 Subject: [PATCH] crystal:: Elemental Planes --- crystal.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crystal.cpp b/crystal.cpp index c9a05ee2..fed8adbb 100644 --- a/crystal.cpp +++ b/crystal.cpp @@ -882,6 +882,10 @@ void set_land(cell *c) { setland(c, getCLand(gdiv(cv, 360))); } + else if(specialland == laElementalWall) { + setland(c, eLand(laEFire + ((co1[0] / 240)&1?0:2) + ((co1[1] / 240)&1?0:1))); + } + if(specialland == laCamelot) { setland(c, laCrossroads); buildCamelot(c);