mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
fixup animateMovement
This commit is contained in:
parent
4fb6563f27
commit
d05ec40014
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user