From 50747429cdd7746202902254a84742f771da4cb9 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Sat, 22 Sep 2012 20:43:34 -0400 Subject: PEGASUS: Don't allow loading/saving in a few more places Only affects loading/saving from the GMM --- engines/pegasus/pegasus.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/pegasus/pegasus.h') diff --git a/engines/pegasus/pegasus.h b/engines/pegasus/pegasus.h index 661f8e0f9d..d197e9b988 100644 --- a/engines/pegasus/pegasus.h +++ b/engines/pegasus/pegasus.h @@ -78,8 +78,8 @@ public: const PegasusGameDescription *_gameDescription; bool hasFeature(EngineFeature f) const; GUI::Debugger *getDebugger(); - bool canLoadGameStateCurrently() { return _loadAllowed && !isDemo(); } - bool canSaveGameStateCurrently() { return _saveAllowed && !isDemo(); } + bool canLoadGameStateCurrently(); + bool canSaveGameStateCurrently(); Common::Error loadGameState(int slot); Common::Error saveGameState(int slot, const Common::String &desc); -- cgit v1.2.3