aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sword1/detection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword1/detection.cpp b/engines/sword1/detection.cpp
index 246bf95b8e..436b4d86b9 100644
--- a/engines/sword1/detection.cpp
+++ b/engines/sword1/detection.cpp
@@ -326,7 +326,7 @@ Common::Error SwordEngine::loadGameState(int slot) {
}
bool SwordEngine::canLoadGameStateCurrently() {
- return mouseIsActive();
+ return (mouseIsActive() && !_control->isPanelShown()); // Disable GMM loading when game panel is shown
}
Common::Error SwordEngine::saveGameState(int slot, const char *desc) {
@@ -336,7 +336,7 @@ Common::Error SwordEngine::saveGameState(int slot, const char *desc) {
}
bool SwordEngine::canSaveGameStateCurrently() {
- return mouseIsActive();
+ return (mouseIsActive() && !_control->isPanelShown());
}
} // End of namespace Sword1