diff options
author | Filippos Karapetis | 2010-10-15 15:17:49 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-10-15 15:17:49 +0000 |
commit | 59618570492a5ebb90c5cf9f6316cd7aed1328b0 (patch) | |
tree | 798c02a2f0f64b2ff9b87ba8b3923b3baba50707 /engines/toon/toon.cpp | |
parent | c2e08538ee87e156720e6adc5da0bdb090df6a39 (diff) | |
download | scummvm-rg350-59618570492a5ebb90c5cf9f6316cd7aed1328b0.tar.gz scummvm-rg350-59618570492a5ebb90c5cf9f6316cd7aed1328b0.tar.bz2 scummvm-rg350-59618570492a5ebb90c5cf9f6316cd7aed1328b0.zip |
TOON: Fixed code analysis warning - bug #3087867
svn-id: r53502
Diffstat (limited to 'engines/toon/toon.cpp')
-rw-r--r-- | engines/toon/toon.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp index 7c4f9aa24e..87e7c1440e 100644 --- a/engines/toon/toon.cpp +++ b/engines/toon/toon.cpp @@ -4391,10 +4391,11 @@ void SceneAnimation::load(ToonEngine *vm, Common::ReadStream *stream) { _animation = new Animation(vm); _animation->loadAnimation(animationName); - if (_animInstance) + if (_animInstance) { _animInstance->setAnimation(_animation, false); - printf("load animation instance %d / %s / visible %d \n", _id, _animation->_name, _animInstance->getVisible()); + printf("load animation instance %d / %s / visible %d \n", _id, _animation->_name, _animInstance->getVisible()); + } } } |