fixed facing during animation in Cylinder -- although does not seem to be the correct fix

This commit is contained in:
Zeno Rogue 2023-02-04 11:56:39 +01:00
parent 01a3f620b0
commit caf5b5dc8e
1 changed files with 1 additions and 0 deletions

View File

@ -2656,6 +2656,7 @@ EX bool applyAnimation(cell *c, shiftmatrix& V, double& footphase, int layer) {
}
footphase = a.footphase;
V = V * a.wherenow * lrspintox(wnow);
if(cgi.emb->is_cylinder()) V = V * cspin90(1, 0);
if(a.mirrored) V = V * lmirror();
if(a.attacking == 2) V = V * lpispin();
a.ltick = ticks;