[Scummvm-cvs-logs] SF.net SVN: scummvm:[36165] scummvm/trunk/engines/lure/animseq.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sat Jan 31 13:26:45 CET 2009
Revision: 36165
http://scummvm.svn.sourceforge.net/scummvm/?rev=36165&view=rev
Author: dreammaster
Date: 2009-01-31 12:26:44 +0000 (Sat, 31 Jan 2009)
Log Message:
-----------
Disable GMM Save/Loading when a cut-scene is playing
Modified Paths:
--------------
scummvm/trunk/engines/lure/animseq.cpp
Modified: scummvm/trunk/engines/lure/animseq.cpp
===================================================================
--- scummvm/trunk/engines/lure/animseq.cpp 2009-01-31 12:15:21 UTC (rev 36164)
+++ scummvm/trunk/engines/lure/animseq.cpp 2009-01-31 12:26:44 UTC (rev 36165)
@@ -216,6 +216,9 @@
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 @@
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))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list