aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/animation_node.cpp
diff options
context:
space:
mode:
authorMarisa-Chan2014-01-13 09:07:44 +0700
committerMarisa-Chan2014-01-13 09:07:44 +0700
commit9803f7e6c045d625ee41e5b2769b1b2de3ab8ee3 (patch)
tree6c685e84d3c66e27cf86b6d1cbefcce474e70f2d /engines/zvision/animation_node.cpp
parent4ced9c07e0ce55fd77c7a31261a3179b5abb7a8c (diff)
downloadscummvm-rg350-9803f7e6c045d625ee41e5b2769b1b2de3ab8ee3.tar.gz
scummvm-rg350-9803f7e6c045d625ee41e5b2769b1b2de3ab8ee3.tar.bz2
scummvm-rg350-9803f7e6c045d625ee41e5b2769b1b2de3ab8ee3.zip
ZVISION: Fix code style with astyle.
Diffstat (limited to 'engines/zvision/animation_node.cpp')
-rw-r--r--engines/zvision/animation_node.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/zvision/animation_node.cpp b/engines/zvision/animation_node.cpp
index 74b532b2ef..27ee873f98 100644
--- a/engines/zvision/animation_node.cpp
+++ b/engines/zvision/animation_node.cpp
@@ -191,11 +191,11 @@ void AnimationNode::addPlayNode(int32 slot, int x, int y, int x2, int y2, int st
nod.start = start_frame;
nod.stop = end_frame;
if (_fileType == RLF) {
- if (nod.stop >= (int)_animation.rlf->frameCount())
- nod.stop = _animation.rlf->frameCount() - 1;
+ if (nod.stop >= (int)_animation.rlf->frameCount())
+ nod.stop = _animation.rlf->frameCount() - 1;
} else if (_fileType == AVI) {
- if (nod.stop > (int)_animation.avi->getFrameCount())
- nod.stop = _animation.avi->getFrameCount();
+ if (nod.stop > (int)_animation.avi->getFrameCount())
+ nod.stop = _animation.avi->getFrameCount();
}
nod.slot = slot;
nod._cur_frm = -1;