... but only increased

This commit is contained in:
Zeno Rogue committed 2018-04-11 15:49:49 +02:00
1 parent f6aaa0515a
commit 1f6ee5a408
3 files changed
+16 -4

No files matched your search

+12 -1
View File
@@ -5200,7 +5200,6 @@ void drawFlashes() {
bool allowIncreasedSight() {
if(cheater) return true;
if(inHighQual) return true;
if(peace::on) return true;
#if CAP_TOUR
if(tour::on) return true;
@@ -5213,6 +5212,18 @@ bool allowIncreasedSight() {
return false;
}
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;
}
purehookset hooks_drawmap;
transmatrix cview() {