From d84d8610b27eeeb00f362b1f72174d3a912b327b Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 2 Mar 2020 17:51:45 +0100 Subject: [PATCH] eclectic: disable charged and sandstone walls next to other lands --- landgen.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/landgen.cpp b/landgen.cpp index f82f977a..646c72f1 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -2533,6 +2533,11 @@ EX void giantLandSwitch(cell *c, int d, cell *from) { if(c->wall == waRose) c->wall = waNone; + if(among(c->wall, waCharged, waSandstone)) { + forCellEx(c1, c) if(c1->land != laEclectic) + c->wall = waNone; + } + /* experiment: replace Roses with Ivy for(cell *cx: ce)