From bea26f60b932265e072a85187978ad2ddd134630 Mon Sep 17 00:00:00 2001 From: Treeki Date: Fri, 8 Feb 2013 23:16:09 +0100 Subject: changed various playsound calls to playsoundwithfunctionb4 --- src/bossRamboo.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/bossRamboo.cpp') 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; -- cgit v1.2.3