From a14255158abdd7f722cb14e6dbe9aa42a9e44fd8 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 18 Nov 2018 18:03:00 +0100 Subject: [PATCH] racing:: no ghosts while racing --- landgen.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/landgen.cpp b/landgen.cpp index a1d6c11d..aef08aec 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -2277,6 +2277,9 @@ void giantLandSwitch(cell *c, int d, cell *from) { case laMemory: c->wall = waChasm; if(d == 7 && !c->monst && hrand(2000) < 4) + #if CAP_RACING + if(!racing::on) + #endif c->monst = moGhost; break; }