diff options
author | Paul Gilbert | 2018-03-21 21:05:33 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-03-21 21:05:33 -0400 |
commit | 001f2434c6c09a2121fc60f5fa4bd54f6303d75f (patch) | |
tree | cd549b041cf11bbbd9bb73c54c3e5e026c6fb2bd /engines/xeen/xeen.cpp | |
parent | a86a4e02863823da44961a9c0708eef1cdfd9f42 (diff) | |
download | scummvm-rg350-001f2434c6c09a2121fc60f5fa4bd54f6303d75f.tar.gz scummvm-rg350-001f2434c6c09a2121fc60f5fa4bd54f6303d75f.tar.bz2 scummvm-rg350-001f2434c6c09a2121fc60f5fa4bd54f6303d75f.zip |
XEEN: Don't allow GMM load/save on the main menus or intro/end cutscenes
Diffstat (limited to 'engines/xeen/xeen.cpp')
-rw-r--r-- | engines/xeen/xeen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/xeen.cpp b/engines/xeen/xeen.cpp index 1c5fe4ac9e..eeace13c08 100644 --- a/engines/xeen/xeen.cpp +++ b/engines/xeen/xeen.cpp @@ -183,11 +183,11 @@ Common::Error XeenEngine::loadGameState(int slot) { } bool XeenEngine::canLoadGameStateCurrently() { - return _mode != MODE_COMBAT; + return _mode != MODE_COMBAT && _mode != MODE_STARTUP; } bool XeenEngine::canSaveGameStateCurrently() { - return _mode != MODE_COMBAT; + return _mode != MODE_COMBAT && _mode != MODE_STARTUP; } void XeenEngine::playGame() { |