diff options
author | Paul Gilbert | 2012-11-30 23:35:14 +1100 |
---|---|---|
committer | Paul Gilbert | 2012-11-30 23:35:14 +1100 |
commit | 0ece49e5cbe3d0360f097c9566587774108d62dd (patch) | |
tree | 72b3c191f8bd84ba0ce713582320995ee6d03bfd | |
parent | b230dff1e9631cd61775685a9676ec5ab04ff19e (diff) | |
download | scummvm-rg350-0ece49e5cbe3d0360f097c9566587774108d62dd.tar.gz scummvm-rg350-0ece49e5cbe3d0360f097c9566587774108d62dd.tar.bz2 scummvm-rg350-0ece49e5cbe3d0360f097c9566587774108d62dd.zip |
HOPKINS: Added extra flag check to can save/load currently methods
-rw-r--r-- | engines/hopkins/hopkins.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp index dc65de0aa0..24e8240856 100644 --- a/engines/hopkins/hopkins.cpp +++ b/engines/hopkins/hopkins.cpp @@ -68,14 +68,14 @@ Common::String HopkinsEngine::generateSaveName(int slot) { * Returns true if it is currently okay to restore a game */ bool HopkinsEngine::canLoadGameStateCurrently() { - return !_globals.SORTIE && !_globals.PLAN_FLAG; + return !_globals.SORTIE && !_globals.PLAN_FLAG && _eventsManager.souris_flag; } /** * Returns true if it is currently okay to save the game */ bool HopkinsEngine::canSaveGameStateCurrently() { - return !_globals.SORTIE && !_globals.PLAN_FLAG; + return !_globals.SORTIE && !_globals.PLAN_FLAG && _eventsManager.souris_flag; } /** |