1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-07 18:20:15 +00:00

embeddings:: fixed animation facing in more cylinders

This commit is contained in:
Zeno Rogue
2023-02-04 12:59:51 +01:00
parent d4eb33cd71
commit d67b157904
2 changed files with 10 additions and 1 deletions

View File

@@ -2656,7 +2656,15 @@ 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(cgi.emb->is_cylinder() && !gproduct) {
if(nil) {
V = V * lzpush(1);
V = V * spin270();
V = V * lzpush(-1);
}
else
V = V * cspin90(1, 0);
}
if(a.mirrored) V = V * lmirror();
if(a.attacking == 2) V = V * lpispin();
a.ltick = ticks;