diff options
author | Treeki <treeki@gmail.com> | 2012-12-14 04:39:03 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-12-14 04:39:03 +0100 |
commit | d2310fd118a46e8e530764fb8eea6dac7c6598e1 (patch) | |
tree | da1f1da8c74a16f84429614d6e5ace9fafbfb6b8 | |
parent | ac0ced5b71d2cf2bce444fce88e7b359ac08815c (diff) | |
download | kamek-d2310fd118a46e8e530764fb8eea6dac7c6598e1.tar.gz kamek-d2310fd118a46e8e530764fb8eea6dac7c6598e1.zip |
fixed a bug
Diffstat (limited to '')
-rw-r--r-- | src/cutScene.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
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); |