diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-09 03:13:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-09 03:13:43 +0300 |
commit | 3968453eb82521f6ab3966ff1dc08cd0c803d359 (patch) | |
tree | f1bec30f7e0baeb119cbb987873a5c5749cc119f /src/animatedsprite.cpp | |
parent | 73ff0a5f6b3fe6b26df14eb1dae413a26d002bbb (diff) | |
download | manaplus-3968453eb82521f6ab3966ff1dc08cd0c803d359.tar.gz manaplus-3968453eb82521f6ab3966ff1dc08cd0c803d359.tar.bz2 manaplus-3968453eb82521f6ab3966ff1dc08cd0c803d359.tar.xz manaplus-3968453eb82521f6ab3966ff1dc08cd0c803d359.zip |
Add enum to animation actions support.
Diffstat (limited to 'src/animatedsprite.cpp')
-rw-r--r-- | src/animatedsprite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp index 10bb05cf8..b9946fb1d 100644 --- a/src/animatedsprite.cpp +++ b/src/animatedsprite.cpp @@ -159,7 +159,7 @@ bool AnimatedSprite::updateCurrentAnimation(unsigned int time) mFrame = 0; return false; } - if (!mFrame->nextAction.empty()) + if (mFrame->type == Frame::JUMP && !mFrame->nextAction.empty()) { play(mFrame->nextAction); return true; |