aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/pegasus.h
diff options
context:
space:
mode:
authorMatthew Hoops2012-09-22 20:43:34 -0400
committerMatthew Hoops2012-09-22 20:43:34 -0400
commit50747429cdd7746202902254a84742f771da4cb9 (patch)
tree4c3843b19163a38c3cca0063e0042c1cf0a29c58 /engines/pegasus/pegasus.h
parentb9f6121194b2e4e6984daba86041b2cbe63be171 (diff)
downloadscummvm-rg350-50747429cdd7746202902254a84742f771da4cb9.tar.gz
scummvm-rg350-50747429cdd7746202902254a84742f771da4cb9.tar.bz2
scummvm-rg350-50747429cdd7746202902254a84742f771da4cb9.zip
PEGASUS: Don't allow loading/saving in a few more places
Only affects loading/saving from the GMM
Diffstat (limited to 'engines/pegasus/pegasus.h')
-rw-r--r--engines/pegasus/pegasus.h4
1 files changed, 2 insertions, 2 deletions
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);