Don't allow creation of save file when the user quits the game while the intro.
svn-id: r22904
This commit is contained in:
parent
4a6b2a3276
commit
392fe0cad1
1 changed files with 1 additions and 0 deletions
|
@ -244,6 +244,7 @@ void KyraEngine::loadGame(const char *fileName) {
|
|||
void KyraEngine::saveGame(const char *fileName, const char *saveName) {
|
||||
debugC(9, kDebugLevelMain, "saveGame('%s', '%s')", fileName, saveName);
|
||||
Common::OutSaveFile *out;
|
||||
if (_quitFlag) return;
|
||||
|
||||
if (!(out = _saveFileMan->openForSaving(fileName))) {
|
||||
warning("Can't create file '%s', game not saved", fileName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue