Fix for bug #1900254 - "ITE: Glitches when bridging the gorge"

svn-id: r30955
This commit is contained in:
Filippos Karapetis 2008-02-24 16:12:47 +00:00
parent dbba13a7ac
commit ef9850166d

View File

@ -557,8 +557,10 @@ void Anim::play(uint16 animId, int vectorTime, bool playing) {
_vm->_frameCount += 100; // make sure the waiting thread stops waiting
// Animation done playing
anim->state = ANIM_PAUSE;
anim->currentFrame = 0;
anim->completed = 0;
if (_vm->getGameType() == GType_IHNM) {
anim->currentFrame = 0;
anim->completed = 0;
}
if (anim->linkId == -1) {
if (anim->flags & ANIM_FLAG_ENDSCENE) {