mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-04 08:14:08 +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) {
|
EX void animateMovement(const movei& m, int layer) {
|
||||||
if(vid.mspeed >= 5) return; // no animations!
|
if(vid.mspeed >= 5) return; // no animations!
|
||||||
transmatrix T = adj(m);
|
transmatrix T = iadj(m);
|
||||||
animation& a = animations[layer][m.t];
|
animation& a = animations[layer][m.t];
|
||||||
if(animations[layer].count(m.s)) {
|
if(animations[layer].count(m.s)) {
|
||||||
a = animations[layer][m.s];
|
a = animations[layer][m.s];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user