From 05a01c280e48c615d2e40de676c66ec8b0e9d6e8 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 2 Aug 2019 18:54:32 +0200 Subject: [PATCH] top_land no longer computes celldist if no top_land is used --- bigstuff.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bigstuff.cpp b/bigstuff.cpp index 99cd4e3a..06273154 100644 --- a/bigstuff.cpp +++ b/bigstuff.cpp @@ -1248,8 +1248,8 @@ void buildBigStuff(cell *c, cell *from) { // buildgreatwalls - if(celldist(c) < 3 && !GOLDBERG) { - if(top_land && c == cwt.at->master->move(3)->c7) { + if(top_land && celldist(c) < 3 && !GOLDBERG) { + if(c == cwt.at->master->move(3)->c7) { buildBarrierStrong(c, 6, true, top_land); } }