Skip to content

Commit

Permalink
XEEN: Allow saving game after Clouds ending finishes
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Apr 7, 2018
1 parent c2b5d62 commit ea29c23
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions engines/xeen/scripts.cpp
Expand Up @@ -1455,6 +1455,12 @@ bool Scripts::cmdPlayCD(ParamsIterator &params) { error("TODO"); }
void Scripts::doCloudsEnding() {
g_vm->_party->_cloudsCompleted = true;
doEnding("ENDGAME");

g_vm->_mode = MODE_1;
g_vm->_saves->saveGame();

g_vm->_gameMode = GMODE_MENU;
g_vm->_mode = MODE_STARTUP;
}

void Scripts::doDarkSideEnding() {
Expand Down

0 comments on commit ea29c23

Please sign in to comment.