From b100e77a4876da331d03966f6dad6f0e66531997 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 12 Apr 2018 11:14:26 +0200 Subject: [PATCH] Emerald and Vineyard are now random in a4 --- landgen.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/landgen.cpp b/landgen.cpp index 251c6267..a1e470c1 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -364,13 +364,13 @@ void giantLandSwitch(cell *c, int d, cell *from) { c->wall = waCavewall; else c->wall = waCavefloor; } + else if(a4) + c->wall = hrand(100) < 50 ? waCavefloor : waCavewall; else if(nonbitrunc) { if(polarb50(c)) c->wall = waCavewall; else c->wall = waCavefloor; } - else if(weirdhyperbolic && S7 != 8) - c->wall = waCavefloor; else { int v = emeraldval(c); if(v == 0) @@ -520,6 +520,8 @@ void giantLandSwitch(cell *c, int d, cell *from) { int dy = gmod(y, 3); if(dy == 1) c->wall = waVinePlant; } + else if(a4) + c->wall = hrand(100) < 50 ? waNone : waVinePlant; else { int v = emeraldval(c); if(v == 0) c->wall = waStone;