From d2310fd118a46e8e530764fb8eea6dac7c6598e1 Mon Sep 17 00:00:00 2001 From: Treeki Date: Fri, 14 Dec 2012 04:39:03 +0100 Subject: fixed a bug --- src/cutScene.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/cutScene.cpp b/src/cutScene.cpp index 32f4eb3..cac1f10 100644 --- a/src/cutScene.cpp +++ b/src/cutScene.cpp @@ -93,7 +93,15 @@ int dScCutScene_c::onExecute() { if ((currentScene + 1) == data->sceneCount) { // we're TOTALLY done! OSReport("playback complete\n"); - DoSceneChange(WORLD_MAP, 0x80000000, 0); + int nsmbwMovieType = settings & 3; + switch (nsmbwMovieType) { + case 0: + DoSceneChange(WORLD_MAP, 0x80000000, 0); + break; + case 1: + StartTitleScreenStage(false, 0); + break; + } } else { nextScene = currentScene + 1; OSReport("switching to scene %d\n", nextScene); -- cgit v1.2.3