1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-03-28 06:17:03 +00:00

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(peace::on) return true;
#if CAP_TOUR #if CAP_TOUR
if(tour::on) return true; if(tour::on) return true;
#endif
#if CAP_ROGUEVIZ
if(rogueviz::on) return true;
#endif #endif
if(randomPatternsMode) return true; if(randomPatternsMode) return true;
if(quotient || !hyperbolic) return true; if(quotient || !hyperbolic) return true;
@ -5101,9 +5098,6 @@ bool allowChangeRange() {
if(cheater || peace::on || randomPatternsMode) return true; if(cheater || peace::on || randomPatternsMode) return true;
#if CAP_TOUR #if CAP_TOUR
if(tour::on) return true; if(tour::on) return true;
#endif
#if CAP_ROGUEVIZ
if(rogueviz::on) return true;
#endif #endif
if(sightrange_bonus >= 0) return true; if(sightrange_bonus >= 0) return true;
return false; return false;
@ -5582,9 +5576,6 @@ bool nohelp;
void normalscreen() { void normalscreen() {
help = "@"; help = "@";
#if CAP_ROGUEVIZ
if(!rogueviz::on)
#endif
mouseovers = XLAT("Press F1 or right click for help"); mouseovers = XLAT("Press F1 or right click for help");
#if CAP_TOUR #if CAP_TOUR

View File

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