summaryrefslogtreecommitdiff
path: root/src/bossPodouble.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/bossPodouble.cpp
parentf66e56e087e58c3b7319e9065c375c502228dceb (diff)
downloadkamek-bea26f60b932265e072a85187978ad2ddd134630.tar.gz
kamek-bea26f60b932265e072a85187978ad2ddd134630.zip
changed various playsound calls to playsoundwithfunctionb4
Diffstat (limited to '')
-rw-r--r--src/bossPodouble.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bossPodouble.cpp b/src/bossPodouble.cpp
index 4b85cf1..1bf8887 100644
--- a/src/bossPodouble.cpp
+++ b/src/bossPodouble.cpp
@@ -608,12 +608,13 @@ int daPodouble::onDraw() {
bool ret;
ret = ShrinkBoss(this, &this->pos, 3.5, this->timer);
- if (ret == true) {
+ if (ret == true) {
BossExplode(this, &this->pos);
this->dying = 1;
this->timer = 0;
+ nw4r::snd::SoundHandle handle;
+ PlaySoundWithFunctionB4(SoundRelatedClass, &handle, SE_EMY_BUBBLE_EXTINCT, 1);
}
- else { PlaySound(this, SE_EMY_BUBBLE_EXTINCT); }
this->timer += 1;