mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-27 14:14:04 +00:00
fixed Great Walls in 534
This commit is contained in:
1
reg3.cpp
1
reg3.cpp
@@ -1472,6 +1472,7 @@ int dist_alt(cell *c) {
|
||||
#if MAXMDIM >= 4
|
||||
EX cellwalker strafe(cellwalker cw, int j) {
|
||||
hyperpoint hfront = tC0(cgi.adjmoves[cw.spin]);
|
||||
cw.at->cmove(j);
|
||||
transmatrix T = currentmap->adj(cw.at, j);
|
||||
for(int i=0; i<S7; i++) if(i != cw.at->c.spin(j))
|
||||
if(hdist(hfront, T * tC0(cgi.adjmoves[i])) < cgi.strafedist + .01)
|
||||
|
Reference in New Issue
Block a user