diff options
author | Paul Gilbert | 2018-04-03 22:00:18 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-04-03 22:00:18 -0400 |
commit | 4fefa8828283d7f6857327b3e19ccaf8cbee33a5 (patch) | |
tree | 63f2f11073d658ffbf55a298e113dd4d70aaa2c7 /engines/xeen/xeen.cpp | |
parent | e5c4adb3c0ecdc74df2f5edc69f19af265f93be2 (diff) | |
download | scummvm-rg350-4fefa8828283d7f6857327b3e19ccaf8cbee33a5.tar.gz scummvm-rg350-4fefa8828283d7f6857327b3e19ccaf8cbee33a5.tar.bz2 scummvm-rg350-4fefa8828283d7f6857327b3e19ccaf8cbee33a5.zip |
XEEN: Don't allow saving in the war zone
Diffstat (limited to 'engines/xeen/xeen.cpp')
-rw-r--r-- | engines/xeen/xeen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/xeen.cpp b/engines/xeen/xeen.cpp index 854ac87dc3..5f6243c045 100644 --- a/engines/xeen/xeen.cpp +++ b/engines/xeen/xeen.cpp @@ -193,7 +193,7 @@ bool XeenEngine::canLoadGameStateCurrently() { } bool XeenEngine::canSaveGameStateCurrently() { - return _mode != MODE_COMBAT && _mode != MODE_STARTUP; + return _mode != MODE_COMBAT && _mode != MODE_STARTUP && (_map->mazeData()._mazeFlags & RESTRICTION_SAVE) == 0; } void XeenEngine::playGame() { |