summaryrefslogtreecommitdiff
path: root/src/animatedsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-05 00:35:30 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-05 00:35:30 +0300
commitc3afff20d4989ab2835545715bbe67e5b5d9b353 (patch)
tree21d4d8c51ff0afa1c4b87fd83af1f6a6c4d64ce4 /src/animatedsprite.cpp
parentc0826c48402594d86f8f75db96b54c58ce00968d (diff)
downloadmanaverse-c3afff20d4989ab2835545715bbe67e5b5d9b353.tar.gz
manaverse-c3afff20d4989ab2835545715bbe67e5b5d9b353.tar.bz2
manaverse-c3afff20d4989ab2835545715bbe67e5b5d9b353.tar.xz
manaverse-c3afff20d4989ab2835545715bbe67e5b5d9b353.zip
Fix code style.
Diffstat (limited to 'src/animatedsprite.cpp')
-rw-r--r--src/animatedsprite.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp
index 1014fbe46..1dc5b16c8 100644
--- a/src/animatedsprite.cpp
+++ b/src/animatedsprite.cpp
@@ -143,8 +143,11 @@ bool AnimatedSprite::update(int time)
bool AnimatedSprite::updateCurrentAnimation(unsigned int time)
{
// move code from Animation::isTerminator(*mFrame)
- if (!mFrame || !mAnimation || (!mFrame->image && mFrame->type == Frame::ANIMATION))
+ if (!mFrame || !mAnimation || (!mFrame->image
+ && mFrame->type == Frame::ANIMATION))
+ {
return false;
+ }
mFrameTime += time;