1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-01 16:27:04 +00:00

fixed Great Walls in 534

This commit is contained in:
Zeno Rogue 2020-04-22 01:45:04 +02:00
parent 95aa4d8fe5
commit 1914a3c1bc

View File

@ -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)