mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 05:17:17 +00:00
inscreenrange in sol now just returns gmatrix count
This commit is contained in:
parent
a9f02623d5
commit
b97326cfa8
@ -7938,6 +7938,7 @@ cell *viewcenter() {
|
|||||||
bool inscreenrange(cell *c) {
|
bool inscreenrange(cell *c) {
|
||||||
if(sphere) return true;
|
if(sphere) return true;
|
||||||
if(euclid) return celldistance(viewcenter(), c) <= get_sightrange_ambush();
|
if(euclid) return celldistance(viewcenter(), c) <= get_sightrange_ambush();
|
||||||
|
if(sol) return gmatrix.count(c);
|
||||||
return heptdistance(viewcenter(), c) <= 8;
|
return heptdistance(viewcenter(), c) <= 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user