1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-31 23:10:16 +00:00

removed no longer productive 'overgenerate', improved the down/up limits of sightrange_bonus

This commit is contained in:
Zeno Rogue
2018-04-10 20:25:56 +02:00
parent e41bc0b3b9
commit ebda963d68
8 changed files with 10 additions and 14 deletions

View File

@@ -612,10 +612,10 @@ namespace dialog {
// if(ne.editwhat == &whatever) resetGeometry();
if(ne.intval == &sightrange_bonus && sightrange_bonus < -3)
*ne.editwhat = sightrange_bonus = -3, affect('v');
if(ne.intval == &sightrange_bonus && sightrange_bonus < 1-getDistLimit())
*ne.editwhat = sightrange_bonus = 1-getDistLimit(), affect('v');
int msr = allowIncreasedSight() ? 10 : 0;
int msr = allowIncreasedSight() ? gp::dist_2() * 5 : 0;
if(ne.intval == &sightrange_bonus && sightrange_bonus > msr)
*ne.editwhat = sightrange_bonus = msr, affect('v');