From 02af85a871e0c12e494ef8777b3784f60a7f9aee Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 14 Aug 2017 21:13:27 +0200 Subject: [PATCH] also added mirrors in the Crossroads while Hyperstones activated --- landgen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/landgen.cpp b/landgen.cpp index d7a59217..1e2ca00d 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -5270,6 +5270,8 @@ void setdist(cell *c, int d, cell *from) { c->wall = waBarrier; else if(c->type == 6 && !inv::on && items[itShard] >= 10 && hrand(8000) < 120*orbcrossfun(items[itShard])) c->wall = hrand(2) ? waMirror : waCloud; + else if(c->type == 6 && hyperstonesUnlocked() && hrand(8000) < 100) + c->wall = hrand(2) ? waMirror : waCloud; else if(c->type == 6 && tactic::on && isCrossroads(tactic::lasttactic) && hrand(8000) < 120) c->wall = hrand(2) ? waMirror : waCloud; else if(c->land == laCrossroads4 && hrand(24000) < 10 && tactic::on)