1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

larger sightrange limit in Euclidean

This commit is contained in:
Zeno Rogue 2019-05-29 01:09:59 +02:00
parent 8295251cdc
commit d811ef85e7

View File

@ -699,7 +699,7 @@ void edit_sightrange() {
"the game effectively harder.")); "the game effectively harder."));
dialog::reaction = doOvergenerate; dialog::reaction = doOvergenerate;
dialog::bound_low(1-getDistLimit()); dialog::bound_low(1-getDistLimit());
dialog::bound_up(allowIncreasedSight() ? gp::dist_2() * 5 : 0); dialog::bound_up(allowIncreasedSight() ? euclid ? 99 : gp::dist_2() * 5 : 0);
} }
dialog::extra_options = [] () { dialog::extra_options = [] () {
dialog::addBoolItem(XLAT("draw range based on distance"), vid.use_smart_range == 0, 'D'); dialog::addBoolItem(XLAT("draw range based on distance"), vid.use_smart_range == 0, 'D');