From ec77c2f6fdbb1344d428244d5cacbac7dd48d83a Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Sat, 16 Jul 2011 01:04:45 +0200 Subject: COMPOSER: Don't complain about on-time animation ending. --- engines/composer/composer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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; } -- cgit v1.2.3