summaryrefslogtreecommitdiff
path: root/src/bossPodouble.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bossPodouble.cpp')
-rw-r--r--src/bossPodouble.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/bossPodouble.cpp b/src/bossPodouble.cpp
index 266d2c7..26c20a9 100644
--- a/src/bossPodouble.cpp
+++ b/src/bossPodouble.cpp
@@ -521,7 +521,11 @@ int daPodouble::onDraw() {
bool ret;
ret = ShrinkBoss(this, &this->pos, 3.5, this->timer);
- if (ret) { BossExplode(this, &this->pos); }
+ if (ret == true) {
+ BossExplode(this, &this->pos);
+ this->dying = 1;
+ this->timer = 0;
+ }
else { PlaySound(this, SE_EMY_BUBBLE_EXTINCT); }
this->timer += 1;
@@ -546,7 +550,11 @@ int daPodouble::onDraw() {
bool ret;
ret = ShrinkBoss(this, &this->pos, 3.5, this->timer);
- if (ret) { BossExplode(this, &this->pos); }
+ if (ret == true) {
+ BossExplode(this, &this->pos);
+ this->dying = 1;
+ this->timer = 0;
+ }
else { PlaySound(this, SE_EMY_BUBBLE_EXTINCT); }
this->timer += 1;