mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-28 08:23:08 +00:00
... but only increased
This commit is contained in:
1 parent
f6aaa0515a
commit
1f6ee5a408
3 files changed
+16
-4
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user