aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cge2/saveload.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/engines/cge2/saveload.cpp b/engines/cge2/saveload.cpp
index a7d04bbc09..0fb3fb20f8 100644
--- a/engines/cge2/saveload.cpp
+++ b/engines/cge2/saveload.cpp
@@ -147,14 +147,8 @@ void CGE2MetaEngine::removeSaveState(const char *target, int slot) const {
}
bool CGE2Engine::canSaveGameStateCurrently() {
- bool isHeroVisible = false;
- for (int i = 0; i < 2; i++) {
- isHeroVisible = !_heroTab[i]->_ptr->_flags._hide;
- if (isHeroVisible)
- break;
- }
return (_startupMode == 0) && _mouse->_active &&
- _commandHandler->idle() && isHeroVisible;
+ _commandHandler->idle() && !(*_soundStat._wait);
}
Common::Error CGE2Engine::saveGameState(int slot, const Common::String &desc) {