1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 02:50:34 +00:00

disabled scrolling in Haunted Woods

This commit is contained in:
Zeno Rogue 2019-04-29 17:16:55 +02:00
parent 9fdaa8840c
commit 4a5c9fe5cf

View File

@ -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;
}