1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-07 01:03:00 +00:00

improved insightrange

This commit is contained in:
Zeno Rogue
2018-04-06 23:28:58 +02:00
parent 63f50a1136
commit a17445bee7
2 changed files with 20 additions and 1 deletions

View File

@@ -5925,6 +5925,8 @@ cell *viewcenter() {
}
bool inscreenrange(cell *c) {
return celldistance(viewcenter(), c) <= (euclid ? get_sightrange() : nonbitrunc ? 9 : 13);
if(sphere) return true;
if(euclid) return celldistance(viewcenter(), c) <= get_sightrange();
return heptdistance(viewcenter(), c) <= 5;
}