1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 23:50:27 +00:00

fixed rotation in farcorner

This commit is contained in:
Zeno Rogue 2020-07-12 20:44:17 +02:00
parent 4013d55c27
commit 6c1c444241

View File

@ -649,8 +649,8 @@ EX hyperpoint farcorner(cell *c, int i, int which) {
if(GOLDBERG) { if(GOLDBERG) {
cellwalker cw(c, i); cellwalker cw(c, i);
cw += wstep; cw += wstep;
if(!cw.mirrored) cw.spin += (which?-1:2); if(!cw.mirrored) cw += (which?-1:2);
else cw.spin += (which?2:-1); else cw += (which?2:-1);
transmatrix cwm = currentmap->adj(c, i); transmatrix cwm = currentmap->adj(c, i);
auto li1 = gp::get_local_info(cw.at); auto li1 = gp::get_local_info(cw.at);
return cwm * get_corner_position(li1, cw.spin); return cwm * get_corner_position(li1, cw.spin);