diff options
author | Alyssa Milburn | 2011-07-16 01:04:45 +0200 |
---|---|---|
committer | Alyssa Milburn | 2011-07-16 01:04:45 +0200 |
commit | ec77c2f6fdbb1344d428244d5cacbac7dd48d83a (patch) | |
tree | 66eaf8ca9d544b18f55e96a6890d0fdc6e5f74b7 /engines | |
parent | 9e127a10327ced6e7172efbb237672b07df4a0a0 (diff) | |
download | scummvm-rg350-ec77c2f6fdbb1344d428244d5cacbac7dd48d83a.tar.gz scummvm-rg350-ec77c2f6fdbb1344d428244d5cacbac7dd48d83a.tar.bz2 scummvm-rg350-ec77c2f6fdbb1344d428244d5cacbac7dd48d83a.zip |
COMPOSER: Don't complain about on-time animation ending.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/composer/composer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/composer/composer.cpp b/engines/composer/composer.cpp index cafb5e7bd9..34e383293c 100644 --- a/engines/composer/composer.cpp +++ b/engines/composer/composer.cpp @@ -355,7 +355,7 @@ void ComposerEngine::processAnimFrame() { Animation *anim = *i; anim->seekToCurrPos(); - if (anim->_stream->pos() == anim->_stream->size()) { + if ((anim->_state > 1) && (anim->_stream->pos() == anim->_stream->size())) { warning("anim with id %d ended too soon", anim->_id); anim->_state = 0; } |