[Scummvm-cvs-logs] SF.net SVN: scummvm:[39096] scummvm/trunk/engines/sword1/sword1.cpp

hkz at users.sourceforge.net hkz at users.sourceforge.net
Tue Mar 3 22:33:46 CET 2009


Revision: 39096
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39096&view=rev
Author:   hkz
Date:     2009-03-03 21:33:45 +0000 (Tue, 03 Mar 2009)

Log Message:
-----------
Added missing checkCd() execution when loading through GMM

Modified Paths:
--------------
    scummvm/trunk/engines/sword1/sword1.cpp

Modified: scummvm/trunk/engines/sword1/sword1.cpp
===================================================================
--- scummvm/trunk/engines/sword1/sword1.cpp	2009-03-03 20:05:00 UTC (rev 39095)
+++ scummvm/trunk/engines/sword1/sword1.cpp	2009-03-03 21:33:45 UTC (rev 39096)
@@ -732,6 +732,7 @@
 
 // The following function is needed to restore proper status after GMM load game
 void SwordEngine::reinitRes(void) {
+	checkCd(); // Reset currentCD var to correct value
 	_screen->newScreen(Logic::_scriptVars[NEW_SCREEN]);
 	_logic->newScreen(Logic::_scriptVars[NEW_SCREEN]);
 	_sound->newScreen(Logic::_scriptVars[NEW_SCREEN]);


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