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:
parent
441b6180db
commit
a1c7b8db3d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user