rogueviz:: rogueviz::on is no longer checked anywhere in the main hr

This commit is contained in:
Zeno Rogue 2018-07-09 19:58:13 +02:00
parent 3a8293df27
commit 26b4e1a7ab
2 changed files with 1 additions and 9 deletions

View File

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

View File

@ -1467,6 +1467,7 @@ void init() {
restart_game(rg::nothing);
#endif
on = true;
autocheat = true;
items[itOrbLife] = 0;
timerghost = false;