1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-28 04:17:39 +00:00

sightrange of 30 was not enough on some spheres

This commit is contained in:
Zeno Rogue
2018-08-20 16:28:25 +02:00
parent a4ced4a504
commit 7e52b1f340
3 changed files with 6 additions and 3 deletions

View File

@@ -594,8 +594,8 @@ namespace hr { namespace gp {
base_distlimit = (base_distlimit + log(scale) / log(2.618)) / scale;
else
base_distlimit = 3 * max(param.first, param.second) + 2 * min(param.first, param.second);
if(base_distlimit > 30)
base_distlimit = 30;
if(base_distlimit > SEE_ALL)
base_distlimit = SEE_ALL;
prepare_matrices();
if(debug_geometry)
Xprintf("scale = " LDF "\n", scale);