From 26b4e1a7abb7f000876dd20d239a32df307b57f7 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 9 Jul 2018 19:58:13 +0200 Subject: [PATCH] rogueviz:: rogueviz::on is no longer checked anywhere in the main hr --- graph.cpp | 9 --------- rogueviz.cpp | 1 + 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/graph.cpp b/graph.cpp index da3b3d2f..f148c92c 100644 --- a/graph.cpp +++ b/graph.cpp @@ -5088,9 +5088,6 @@ bool allowIncreasedSight() { if(peace::on) return true; #if CAP_TOUR if(tour::on) return true; -#endif -#if CAP_ROGUEVIZ - if(rogueviz::on) return true; #endif if(randomPatternsMode) return true; if(quotient || !hyperbolic) return true; @@ -5101,9 +5098,6 @@ bool allowChangeRange() { if(cheater || peace::on || randomPatternsMode) return true; #if CAP_TOUR if(tour::on) return true; -#endif -#if CAP_ROGUEVIZ - if(rogueviz::on) return true; #endif if(sightrange_bonus >= 0) return true; return false; @@ -5582,9 +5576,6 @@ bool nohelp; void normalscreen() { help = "@"; -#if CAP_ROGUEVIZ - if(!rogueviz::on) -#endif mouseovers = XLAT("Press F1 or right click for help"); #if CAP_TOUR diff --git a/rogueviz.cpp b/rogueviz.cpp index 0b30fb6c..a3040598 100644 --- a/rogueviz.cpp +++ b/rogueviz.cpp @@ -1467,6 +1467,7 @@ void init() { restart_game(rg::nothing); #endif on = true; + autocheat = true; items[itOrbLife] = 0; timerghost = false;