1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

fixup animateMovement

This commit is contained in:
Zeno Rogue 2019-11-22 16:37:32 +01:00
parent 4fb6563f27
commit d05ec40014

View File

@ -5032,7 +5032,7 @@ EX transmatrix iadj(const movei& m) {
EX void animateMovement(const movei& m, int layer) {
if(vid.mspeed >= 5) return; // no animations!
transmatrix T = adj(m);
transmatrix T = iadj(m);
animation& a = animations[layer][m.t];
if(animations[layer].count(m.s)) {
a = animations[layer][m.s];