COMPOSER: Don't complain about on-time animation ending.

This commit is contained in:
Alyssa Milburn 2011-07-16 01:04:45 +02:00
parent 9e127a1032
commit ec77c2f6fd

View file

@ -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;
}