From 4a5c9fe5cf466cccccf9e7dc75d2543ab70c67d8 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 29 Apr 2019 17:16:55 +0200 Subject: [PATCH] disabled scrolling in Haunted Woods --- hypgraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypgraph.cpp b/hypgraph.cpp index 2ad59faa..23410e14 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -1654,7 +1654,7 @@ bool do_draw(cell *c) { // do not display not fully generated cells, unless changing range allowed if(c->mpdist > 7 && !allowChangeRange()) return false; // in the Yendor Challenge, scrolling back is forbidden - if(c->cpdist > 7 && yendor::on && !cheater && !autocheat) return false; + if(c->cpdist > 7 && (yendor::on || isHaunted(cwt.at->land)) && !cheater && !autocheat) return false; return true; }