[Scummvm-cvs-logs] scummvm master -> 80e362f6eacda54d1553b353320efedc7d21f6c1

bluegr md5 at scummvm.org
Wed Apr 6 08:51:20 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
80e362f6ea SAGA: Fixed bug #3275973 - "IHNM: Dialog options vanish"


Commit: 80e362f6eacda54d1553b353320efedc7d21f6c1
    https://github.com/scummvm/scummvm/commit/80e362f6eacda54d1553b353320efedc7d21f6c1
Author: md5 (md5 at scummvm.org)
Date: 2011-04-05T23:49:39-07:00

Commit Message:
SAGA: Fixed bug #3275973 - "IHNM: Dialog options vanish"

Changed paths:
    engines/saga/detection.cpp



diff --git a/engines/saga/detection.cpp b/engines/saga/detection.cpp
index e43f1ee..f8c06bf 100644
--- a/engines/saga/detection.cpp
+++ b/engines/saga/detection.cpp
@@ -372,12 +372,13 @@ Common::Error SagaEngine::saveGameState(int slot, const char *desc) {
 }
 
 bool SagaEngine::canLoadGameStateCurrently() {
-	return !_scene->isInIntro();
+	return !_scene->isInIntro() &&
+		(_interface->getMode() == kPanelMain || _interface->getMode() == kPanelChapterSelection);
 }
 
 bool SagaEngine::canSaveGameStateCurrently() {
 	return !_scene->isInIntro() &&
-		   (_interface->getMode() == kPanelMain || _interface->getMode() == kPanelChapterSelection);
+		(_interface->getMode() == kPanelMain || _interface->getMode() == kPanelChapterSelection);
 }
 
 } // End of namespace Saga






More information about the Scummvm-git-logs mailing list