From 16d563a330e1a3190b6212a0bca2a4c80e2b5cff Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Sat, 8 Dec 2012 14:13:45 -0600 Subject: minor topman/shy guy fixes --- src/bossTopman.cpp | 2 +- src/shyguy.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3