aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2018-03-16 21:41:19 -0400
committerPaul Gilbert2018-03-16 21:41:19 -0400
commit082def7ccd4506dc81041f21f3a2a9adaf455637 (patch)
tree5d00939e8a5816a23fa5902018284384c76fd389
parentba6db41a26dc954349c617b2d380fd582d3f65a7 (diff)
downloadscummvm-rg350-082def7ccd4506dc81041f21f3a2a9adaf455637.tar.gz
scummvm-rg350-082def7ccd4506dc81041f21f3a2a9adaf455637.tar.bz2
scummvm-rg350-082def7ccd4506dc81041f21f3a2a9adaf455637.zip
XEEN: Go to menu rather than intro title when game is exitted
-rw-r--r--engines/xeen/worldofxeen/worldofxeen_menu.cpp1
-rw-r--r--engines/xeen/xeen.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/engines/xeen/worldofxeen/worldofxeen_menu.cpp b/engines/xeen/worldofxeen/worldofxeen_menu.cpp
index 3e4e14455e..8356794ef7 100644
--- a/engines/xeen/worldofxeen/worldofxeen_menu.cpp
+++ b/engines/xeen/worldofxeen/worldofxeen_menu.cpp
@@ -53,6 +53,7 @@ void MainMenuContainer::show() {
MainMenuContainer::MainMenuContainer(const Common::String &spritesName, uint frameCount) :
_frameCount(frameCount), _animateCtr(0), _dialog(nullptr) {
+ g_vm->_files->setGameCc(g_vm->getGameID() == GType_Clouds ? 0 : 1);
_backgroundSprites.load(spritesName);
}
diff --git a/engines/xeen/xeen.cpp b/engines/xeen/xeen.cpp
index c8fb40d2a0..b7b87af103 100644
--- a/engines/xeen/xeen.cpp
+++ b/engines/xeen/xeen.cpp
@@ -243,6 +243,7 @@ void XeenEngine::play() {
death();
_mode = MODE_STARTUP;
+ _gameMode = GMODE_MENU;
}
void XeenEngine::gameLoop() {