mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 23:10:26 +00:00
fixed rotation in farcorner
This commit is contained in:
parent
4013d55c27
commit
6c1c444241
@ -649,8 +649,8 @@ EX hyperpoint farcorner(cell *c, int i, int which) {
|
||||
if(GOLDBERG) {
|
||||
cellwalker cw(c, i);
|
||||
cw += wstep;
|
||||
if(!cw.mirrored) cw.spin += (which?-1:2);
|
||||
else cw.spin += (which?2:-1);
|
||||
if(!cw.mirrored) cw += (which?-1:2);
|
||||
else cw += (which?2:-1);
|
||||
transmatrix cwm = currentmap->adj(c, i);
|
||||
auto li1 = gp::get_local_info(cw.at);
|
||||
return cwm * get_corner_position(li1, cw.spin);
|
||||
|
Loading…
Reference in New Issue
Block a user