From 0ece49e5cbe3d0360f097c9566587774108d62dd Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 30 Nov 2012 23:35:14 +1100 Subject: HOPKINS: Added extra flag check to can save/load currently methods --- engines/hopkins/hopkins.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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; } /** -- cgit v1.2.3