diff options
-rw-r--r-- | engines/lure/animseq.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/lure/animseq.cpp b/engines/lure/animseq.cpp index f9f53b2806..5094c60961 100644 --- a/engines/lure/animseq.cpp +++ b/engines/lure/animseq.cpp @@ -216,6 +216,9 @@ AnimationSequence::~AnimationSequence() { if (_lineRefs != NULL) delete _lineRefs; delete _decodedData; + + // Renable GMM saving/loading now that the animation is done + LureEngine::getReference()._saveLoadAllowed = true; } // show @@ -227,6 +230,9 @@ AnimAbortType AnimationSequence::show() { const AnimSoundSequence *soundFrame = _soundList; int frameCtr = 0; + // Disable GMM saving/loading whilst animation is running + LureEngine::getReference()._saveLoadAllowed = false; + // Loop through displaying the animations while (_pPixels < _pPixelsEnd) { if ((soundFrame != NULL) && (frameCtr == 0)) |