diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bossTopman.cpp | 2 | ||||
-rw-r--r-- | src/shyguy.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/bossTopman.cpp b/src/bossTopman.cpp index 5888859..95aeefb 100644 --- a/src/bossTopman.cpp +++ b/src/bossTopman.cpp @@ -134,7 +134,7 @@ daDreidel *daDreidel::build() { this->damage += 1; doStateChange(&StateID_Damage); - if (this->damage > 3) { doStateChange(&StateID_Outro); } + if (this->damage = 3) { doStateChange(&StateID_Outro); } } else { dEn_c::spriteCollision(apThis, apOther); } } diff --git a/src/shyguy.cpp b/src/shyguy.cpp index f78cb4d..c2193c7 100644 --- a/src/shyguy.cpp +++ b/src/shyguy.cpp @@ -1334,6 +1334,7 @@ void daShyGuy::updateModelMatrices() { balloonPhysics.removeFromList(); SpawnEffect("Wm_en_explosion_ln", 0, &(Vec){this->pos.x, this->pos.y - 32.0, 0}, &(S16Vec){0,0,0}, &(Vec){1.0, 1.0, 1.0}); + PlaySound(this, SE_PLY_BALLOON_BRAKE); type = 0; } |