diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-12-08 14:13:45 -0600 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-12-08 14:13:45 -0600 |
commit | 16d563a330e1a3190b6212a0bca2a4c80e2b5cff (patch) | |
tree | 37d519535caec474859c6cff38fa806aa6cba901 | |
parent | 42069c9299c18891a81efeeb45d19007d80c70c1 (diff) | |
download | kamek-16d563a330e1a3190b6212a0bca2a4c80e2b5cff.tar.gz kamek-16d563a330e1a3190b6212a0bca2a4c80e2b5cff.zip |
minor topman/shy guy fixes
-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; } |