1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

animateMov YA fixup

This commit is contained in:
Zeno Rogue 2019-11-22 16:46:37 +01:00
parent 441b6180db
commit a1c7b8db3d

View File

@ -5056,7 +5056,7 @@ EX void animateMovement(cell *src, cell *tgt, int layer, int direction_hint) {
EX void animateAttack(const movei& m, int layer) {
if(vid.mspeed >= 5) return; // no animations!
transmatrix T = adj(m);
transmatrix T = iadj(m);
bool newanim = !animations[layer].count(m.s);
animation& a = animations[layer][m.s];
a.attacking = 1;