summaryrefslogtreecommitdiff
path: root/src/bossRamboo.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-02-08 23:16:09 +0100
committerTreeki <treeki@gmail.com>2013-02-08 23:16:09 +0100
commitbea26f60b932265e072a85187978ad2ddd134630 (patch)
tree6ced216b29a766bdc90dccc92f2bbc6349b11b0d /src/bossRamboo.cpp
parentf66e56e087e58c3b7319e9065c375c502228dceb (diff)
downloadkamek-bea26f60b932265e072a85187978ad2ddd134630.tar.gz
kamek-bea26f60b932265e072a85187978ad2ddd134630.zip
changed various playsound calls to playsoundwithfunctionb4
Diffstat (limited to 'src/bossRamboo.cpp')
-rw-r--r--src/bossRamboo.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bossRamboo.cpp b/src/bossRamboo.cpp
index a2b34f0..a096e14 100644
--- a/src/bossRamboo.cpp
+++ b/src/bossRamboo.cpp
@@ -513,8 +513,9 @@ void daRamboo_c::executeState_Outro() {
this->dying = 1;
this->timer = 0;
}
- else {
- PlaySound(this, SE_EMY_BIG_TERESA_DEAD);
+ else if (timer % 15 == 0) {
+ nw4r::snd::SoundHandle handle;
+ PlaySoundWithFunctionB4(SoundRelatedClass, &handle, SE_EMY_BIG_TERESA_DEAD, 1);
}
timer = timer + 1;