[Scummvm-cvs-logs] SF.net SVN: scummvm: [28739] scummvm/trunk/engines/saga/saveload.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sun Aug 26 02:45:08 CEST 2007


Revision: 28739
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28739&view=rev
Author:   thebluegr
Date:     2007-08-25 17:45:07 -0700 (Sat, 25 Aug 2007)

Log Message:
-----------
Games saved in the character selection screen should work correctly now

Modified Paths:
--------------
    scummvm/trunk/engines/saga/saveload.cpp

Modified: scummvm/trunk/engines/saga/saveload.cpp
===================================================================
--- scummvm/trunk/engines/saga/saveload.cpp	2007-08-25 23:46:04 UTC (rev 28738)
+++ scummvm/trunk/engines/saga/saveload.cpp	2007-08-26 00:45:07 UTC (rev 28739)
@@ -258,7 +258,6 @@
 
 	// Surrounding scene
 	sceneNumber = in->readSint32LE();
-	// Protagonist
 	if (getGameType() != GType_ITE) {
 		int currentChapter = _scene->currentChapterNumber();
 		_scene->setChapterNumber(in->readSint32LE());
@@ -268,6 +267,8 @@
 		_scene->setCurrentMusicTrack(in->readSint32LE());
 		_scene->setCurrentMusicRepeat(in->readSint32LE());
 		_music->stop();
+		if (_scene->currentChapterNumber() == 8)
+			_interface->setMode(kPanelChapterSelection);
 		if (getGameId() != GID_IHNM_DEMO)
 			_music->play(_music->_songTable[_scene->getCurrentMusicTrack()], _scene->getCurrentMusicRepeat() ? MUSIC_LOOP : MUSIC_NORMAL);			
 		else


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