aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2008-11-10 11:43:02 +0000
committerFilippos Karapetis2008-11-10 11:43:02 +0000
commit4e7f7064a38546d10c4abb55a31f34a9f5a34dcc (patch)
tree557c66cfbc25617400dbb98f7181d7faec2db724
parentb98f89c7f0c6ada45cb33dd650f1502c09fe6aa8 (diff)
downloadscummvm-rg350-4e7f7064a38546d10c4abb55a31f34a9f5a34dcc.tar.gz
scummvm-rg350-4e7f7064a38546d10c4abb55a31f34a9f5a34dcc.tar.bz2
scummvm-rg350-4e7f7064a38546d10c4abb55a31f34a9f5a34dcc.zip
Limit places where saving from the GMM is permitted
svn-id: r34984
-rw-r--r--engines/saga/saga.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp
index ee471f9330..125a1670cc 100644
--- a/engines/saga/saga.cpp
+++ b/engines/saga/saga.cpp
@@ -533,11 +533,12 @@ void SagaEngine::syncSoundSettings() {
}
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