From 0a5fd1a3283ba3e9a59334bcf9b245ba0b7018f7 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 25 Dec 2018 23:58:37 +0100 Subject: [PATCH] ghosts no longer appear without reason in Crystal and other low-distlimit geometries --- landgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/landgen.cpp b/landgen.cpp index 6f3329b5..893aa2c9 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -2386,7 +2386,7 @@ void setdist(cell *c, int d, cell *from) { } } - if(d <= 3) lastexplore = shmup::on ? shmup::curtime : turncount; + if(d <= 10 - getDistLimit()) lastexplore = shmup::on ? shmup::curtime : turncount; if(buggyGeneration) { if(d < BARLEV) for(int i=0; itype; i++) {