diff options
author | Paul Gilbert | 2011-11-27 18:42:24 +1100 |
---|---|---|
committer | Paul Gilbert | 2011-11-27 18:43:07 +1100 |
commit | e4c13058268df2ad817a2a3b835c53772f3d99dd (patch) | |
tree | dabbed2be913de87c872c6d6f7108ee2d26c24f2 /engines | |
parent | 6e9fe4e365d05d9c3776c266aac3dc35a537f875 (diff) | |
download | scummvm-rg350-e4c13058268df2ad817a2a3b835c53772f3d99dd.tar.gz scummvm-rg350-e4c13058268df2ad817a2a3b835c53772f3d99dd.tar.bz2 scummvm-rg350-e4c13058268df2ad817a2a3b835c53772f3d99dd.zip |
CGE: Disable restoring games whilst a cut-scene is active
This is because previously after restoring you could no longer move the Chief.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge/cge.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cge/cge.cpp b/engines/cge/cge.cpp index 87654c53f4..8e74253f86 100644 --- a/engines/cge/cge.cpp +++ b/engines/cge/cge.cpp @@ -208,7 +208,8 @@ bool CGEEngine::hasFeature(EngineFeature f) const { } bool CGEEngine::canLoadGameStateCurrently() { - return (_startupMode == 0) && _mouse->_active; + return (_startupMode == 0) && _mouse->_active && + _commandHandler->idle() && !_hero->_flags._hide; } bool CGEEngine::canSaveGameStateCurrently() { |