CGE: Don't allow saving game during cut-scenes

This commit is contained in:
Paul Gilbert 2011-11-08 20:32:41 +11:00
parent c58af59ae4
commit b1c10ef2f0

View File

@ -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