1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00

inscreenrange in sol now just returns gmatrix count

This commit is contained in:
Zeno Rogue 2019-08-03 11:38:16 +02:00
parent a9f02623d5
commit b97326cfa8

View File

@ -7938,6 +7938,7 @@ cell *viewcenter() {
bool inscreenrange(cell *c) {
if(sphere) return true;
if(euclid) return celldistance(viewcenter(), c) <= get_sightrange_ambush();
if(sol) return gmatrix.count(c);
return heptdistance(viewcenter(), c) <= 8;
}