[Scummvm-cvs-logs] SF.net SVN: scummvm:[34984] scummvm/trunk/engines/saga/saga.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Mon Nov 10 12:43:03 CET 2008
Revision: 34984
http://scummvm.svn.sourceforge.net/scummvm/?rev=34984&view=rev
Author: thebluegr
Date: 2008-11-10 11:43:02 +0000 (Mon, 10 Nov 2008)
Log Message:
-----------
Limit places where saving from the GMM is permitted
Modified Paths:
--------------
scummvm/trunk/engines/saga/saga.cpp
Modified: scummvm/trunk/engines/saga/saga.cpp
===================================================================
--- scummvm/trunk/engines/saga/saga.cpp 2008-11-10 11:24:55 UTC (rev 34983)
+++ scummvm/trunk/engines/saga/saga.cpp 2008-11-10 11:43:02 UTC (rev 34984)
@@ -533,11 +533,12 @@
}
bool SagaEngine::canLoadGameStateCurrently() {
- return !this->_scene->isInIntro();
+ return !_scene->isInIntro();
}
bool SagaEngine::canSaveGameStateCurrently() {
- return !this->_scene->isInIntro();
+ return !_scene->isInIntro() &&
+ (_interface->getMode() == kPanelMain || _interface->getMode() == kPanelChapterSelection);
}
} // End of namespace Saga
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