1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-01 23:40:15 +00:00

Sight range increase is now allowed in some of the special modes (not only the cheat mode)

This commit is contained in:
Zeno Rogue
2017-08-18 02:58:55 +02:00
parent fef663e1b3
commit 465089333f
4 changed files with 17 additions and 3 deletions

View File

@@ -586,7 +586,7 @@ namespace dialog {
if(ne.intval == &sightrange && sightrange < 4)
*ne.editwhat = sightrange = 4, affect('v');
int msr = cheater ? 15 : 7;
int msr = allowIncreasedSight() ? 15 : 7;
if(ne.intval == &sightrange && sightrange > msr)
*ne.editwhat = sightrange = msr, affect('v');