From 0e57fd1cc0cc934fb39f4afb0bd26dc129758757 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 9 Aug 2019 14:04:44 +0200 Subject: [PATCH] fixed Racing desync in Crossroads due to Ruins --- landgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/landgen.cpp b/landgen.cpp index 09f5c9a8..fd6c76a7 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -2214,7 +2214,7 @@ void giantLandSwitch(cell *c, int d, cell *from) { c2->mondir = neighborId(c2, c1); } } - if(d == 7 && c->landparam == 2) forCellEx(c2, c) if(out_ruin(c2)) c->landparam = 1; + if(d == 7 && c->landparam == 2) forCellEx(c2, c) if(c2->land == laRuins && out_ruin(c2)) c->landparam = 1; ONEMPTY { if(hrand(1500) < PT(30 + kills[moHexDemon] + kills[moSkeleton] + kills[moMonk] + kills[moPair], 100) && notDippingFor(itRuins)) { c->item = itRuins;