mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-10-31 19:36:16 +00:00
fixed facing during animation in Cylinder -- although does not seem to be the correct fix
This commit is contained in:
parent
01a3f620b0
commit
caf5b5dc8e
@ -2656,6 +2656,7 @@ EX bool applyAnimation(cell *c, shiftmatrix& V, double& footphase, int layer) {
|
|||||||
}
|
}
|
||||||
footphase = a.footphase;
|
footphase = a.footphase;
|
||||||
V = V * a.wherenow * lrspintox(wnow);
|
V = V * a.wherenow * lrspintox(wnow);
|
||||||
|
if(cgi.emb->is_cylinder()) V = V * cspin90(1, 0);
|
||||||
if(a.mirrored) V = V * lmirror();
|
if(a.mirrored) V = V * lmirror();
|
||||||
if(a.attacking == 2) V = V * lpispin();
|
if(a.attacking == 2) V = V * lpispin();
|
||||||
a.ltick = ticks;
|
a.ltick = ticks;
|
||||||
|
Loading…
Reference in New Issue
Block a user