From b97326cfa84cb4d85617b69ccb357e7d52eaa7ec Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 3 Aug 2019 11:38:16 +0200 Subject: [PATCH] inscreenrange in sol now just returns gmatrix count --- graph.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/graph.cpp b/graph.cpp index 7e26fff7..9de36cb1 100644 --- a/graph.cpp +++ b/graph.cpp @@ -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; }