From 166061beb34d3786b8dfaef76131d821a23d195a Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 23 Apr 2018 11:49:05 +0200 Subject: [PATCH] fixed the bug which caused too low Great Wall generation in the Crossroads --- bigstuff.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bigstuff.cpp b/bigstuff.cpp index a00ae76a..b90a07bc 100644 --- a/bigstuff.cpp +++ b/bigstuff.cpp @@ -960,7 +960,7 @@ int wallchance(cell *c, bool deepOcean) { l == laCanvas ? 0 : l == laHaunted ? 0 : (l == laGraveyard && !deepOcean) ? 0 : - (l == laGraveyard && items[itBone] >= 10) ? 120 : + // (l == laGraveyard && items[itBone] >= 10) ? 120 : l == laOcean ? (deepOcean ? (nonbitrunc ? 250 : 2000) : 0) : l == laDragon ? 120 : 50; @@ -1008,6 +1008,8 @@ void buildBigStuff(cell *c, cell *from) { cell *c2 = from->mov[i]; if(c2 && c2->landparam > HAUNTED_RADIUS+5) deepOcean = true; + if(c2) forCellEx(c3, c2) if(c3 && c3->land == laGraveyard && c3->landparam > HAUNTED_RADIUS+5) + deepOcean = true; } }