diff options
author | Treeki <treeki@gmail.com> | 2013-02-08 23:16:09 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-02-08 23:16:09 +0100 |
commit | bea26f60b932265e072a85187978ad2ddd134630 (patch) | |
tree | 6ced216b29a766bdc90dccc92f2bbc6349b11b0d /src/bossPodouble.cpp | |
parent | f66e56e087e58c3b7319e9065c375c502228dceb (diff) | |
download | kamek-bea26f60b932265e072a85187978ad2ddd134630.tar.gz kamek-bea26f60b932265e072a85187978ad2ddd134630.zip |
changed various playsound calls to playsoundwithfunctionb4
Diffstat (limited to '')
-rw-r--r-- | src/bossPodouble.cpp | 5 |
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; |