[Scummvm-cvs-logs] SF.net SVN: scummvm:[41246] scummvm/trunk/engines/agi/detection.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Sat Jun 6 19:42:12 CEST 2009
Revision: 41246
http://scummvm.svn.sourceforge.net/scummvm/?rev=41246&view=rev
Author: sev
Date: 2009-06-06 17:42:12 +0000 (Sat, 06 Jun 2009)
Log Message:
-----------
Disable save/load when original did not allow
Modified Paths:
--------------
scummvm/trunk/engines/agi/detection.cpp
Modified: scummvm/trunk/engines/agi/detection.cpp
===================================================================
--- scummvm/trunk/engines/agi/detection.cpp 2009-06-06 17:41:50 UTC (rev 41245)
+++ scummvm/trunk/engines/agi/detection.cpp 2009-06-06 17:42:12 UTC (rev 41246)
@@ -1178,11 +1178,11 @@
}
bool AgiBase::canLoadGameStateCurrently() {
- return (!(getGameType() == GType_PreAGI) && getflag(fMenusWork) && !getflag(fNoSaveLoadAllowed));
+ return (!(getGameType() == GType_PreAGI) && getflag(fMenusWork) && !getflag(fNoSaveLoadAllowed) && _game.inputEnabled);
}
bool AgiBase::canSaveGameStateCurrently() {
- return (!(getGameType() == GType_PreAGI) && getflag(fMenusWork) && !getflag(fNoSaveLoadAllowed));
+ return (!(getGameType() == GType_PreAGI) && getflag(fMenusWork) && !getflag(fNoSaveLoadAllowed) && _game.inputEnabled);
}
} // End of namespace Agi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list