From facb0a04d5e4e4b347c9efb918ec03693fabe9f0 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 6 Jun 2021 10:20:32 +0200 Subject: [PATCH] improved how Earth works in CC --- mapeffects.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mapeffects.cpp b/mapeffects.cpp index 05edab2e..6f710833 100644 --- a/mapeffects.cpp +++ b/mapeffects.cpp @@ -198,6 +198,10 @@ EX bool earthFloor(cell *c) { c->wall = waNone; return true; } + if(c->land == laCursed && among(c->wall, waDeepWater, waShallow)) { + c->wall = waNone; + return true; + } return false; } @@ -264,6 +268,10 @@ EX bool earthWall(cell *c) { c->wall = waMercury; return true; } + if(c->land == laCursed && among(c->wall, waNone, waShallow)) { + c->wall = waSea; + return true; + } if(c->wall == waCIsland || c->wall == waCIsland2 || (c->wall == waNone && c->land == laOcean)) { c->item = itNone; c->wall = waSea;