mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 16:07:11 +00:00
viewctr is no more... major reduction of redundancy/complexity
This commit is contained in:
1 parent
74a139ca3e
commit
ef9e2236ba
27 files changed
+102
-270
No files matched your search
@@ -3062,7 +3062,7 @@ EX int pathlock = 0;
|
||||
|
||||
EX void compute_graphical_distance() {
|
||||
if(pathlock) { printf("path error: compute_graphical_distance\n"); }
|
||||
cell *c1 = centerover.at ? centerover.at : pd_from ? pd_from : cwt.at;
|
||||
cell *c1 = centerover ? centerover : pd_from ? pd_from : cwt.at;
|
||||
int sr = get_sightrange_ambush();
|
||||
if(pd_from == c1 && pd_range == sr) return;
|
||||
clear_pathdata();
|
||||
|
||||
Reference in new issue
Block a user