aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2011-11-08 20:32:41 +1100
committerPaul Gilbert2011-11-08 20:32:41 +1100
commitb1c10ef2f05bbad9c907c4a4f8d120ca84734642 (patch)
tree8d40ccec04d5aa6e8898f45fc6ac39212c9d1000
parentc58af59ae41a3bb18860c8da2823e5baf1884172 (diff)
downloadscummvm-rg350-b1c10ef2f05bbad9c907c4a4f8d120ca84734642.tar.gz
scummvm-rg350-b1c10ef2f05bbad9c907c4a4f8d120ca84734642.tar.bz2
scummvm-rg350-b1c10ef2f05bbad9c907c4a4f8d120ca84734642.zip
CGE: Don't allow saving game during cut-scenes
-rw-r--r--engines/cge/cge.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cge/cge.cpp b/engines/cge/cge.cpp
index 4ed2932cd9..74a855f442 100644
--- a/engines/cge/cge.cpp
+++ b/engines/cge/cge.cpp
@@ -214,7 +214,8 @@ bool CGEEngine::canLoadGameStateCurrently() {
}
bool CGEEngine::canSaveGameStateCurrently() {
- return (_startupMode == 0) && _mouse->_active;
+ return (_startupMode == 0) && _mouse->_active &&
+ _commandHandler->idle() && !_hero->_flags._hide;
}
} // End of namespace CGE