summaryrefslogtreecommitdiff
path: root/src/endingMgr.cpp
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2013-04-18 20:38:29 -0500
committerColin Noga <Tempus@chronometry.ca>2013-04-18 20:38:29 -0500
commit3abe5505fc51f1b397d4659c9e82faf19bc01629 (patch)
tree207c24cd5525c101149762bdf782976bf2f51142 /src/endingMgr.cpp
parent93faabab3cebc0bca795c0d8c1ad832b0c619134 (diff)
parent3c7beae513ce1d9ff226415e14f834645b1afeb4 (diff)
downloadkamek-3abe5505fc51f1b397d4659c9e82faf19bc01629.tar.gz
kamek-3abe5505fc51f1b397d4659c9e82faf19bc01629.zip
Merge branch 'level-select' of ssh://treeki.rustedlogic.net:30000/Kamek into level-select
Diffstat (limited to '')
-rw-r--r--src/endingMgr.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/endingMgr.cpp b/src/endingMgr.cpp
index ef40613..09dfc3c 100644
--- a/src/endingMgr.cpp
+++ b/src/endingMgr.cpp
@@ -47,6 +47,11 @@ int dEndingMgr_c::onCreate() {
}
int dEndingMgr_c::onDelete() {
+ nw4r::snd::SoundHandle *fanfare = (nw4r::snd::SoundHandle*)
+ (((u32)SoundRelatedClass) + 0x900);
+ if (fanfare->Exists())
+ fanfare->Stop(60);
+
daBossDemo_c::onDelete();
WLClass::instance->disableDemoControl(true);
return true;
@@ -216,6 +221,7 @@ void dEndingMgr_c::executeState_ThanksPeach() {
if (peach->stage == 1 && peachSt == &peach->StateID_Turn) {
timer++;
if (timer == 1) {
+ // This plays the Peach harp fanfare
sub_8019C390(_8042A788, 6);
}
if (timer > 20) {