aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-12-28 01:18:10 +0100
committerThierry Crozat2018-01-23 02:15:45 +0000
commit509edfd53973da5484e6b3d4a1564bcae5e3e318 (patch)
tree99bdabad04f4041a75884446a045165d4fbf7a6f
parent063962a583fc3268a5a6b1737a6272c653d6ba9a (diff)
downloadscummvm-rg350-509edfd53973da5484e6b3d4a1564bcae5e3e318.tar.gz
scummvm-rg350-509edfd53973da5484e6b3d4a1564bcae5e3e318.tar.bz2
scummvm-rg350-509edfd53973da5484e6b3d4a1564bcae5e3e318.zip
SUPERNOVA: Returns to launcher after outro
-rw-r--r--engines/supernova/state.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp
index 2b5ae29243..e27a68f1bb 100644
--- a/engines/supernova/state.cpp
+++ b/engines/supernova/state.cpp
@@ -1272,8 +1272,6 @@ void GameManager::searchStartEvent() {
}
void GameManager::outro() {
-// title = 2;
-// title = 0;
_vm->playSoundMod(kMusicOutro);
_vm->paletteFadeOut();
_vm->setCurrentImage(55);
@@ -1281,8 +1279,10 @@ void GameManager::outro() {
_vm->paletteFadeIn();
getInput();
_vm->paletteFadeOut();
- // TODO: render info file
- // Exit
+
+ Common::Event event;
+ event.type = Common::EVENT_RTL;
+ _vm->getEventManager()->pushEvent(event);
}
void GameManager::great(uint number) {