summaryrefslogtreecommitdiff
path: root/src/boss.cpp
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-12-13 21:40:34 -0600
committerColin Noga <Tempus@chronometry.ca>2012-12-13 21:40:34 -0600
commit1ecc9bbfe65096b6f5601385b24095afcc918563 (patch)
treef3ac5050f24b6ab3ac03d5d1a56e066fcc405272 /src/boss.cpp
parentac0ced5b71d2cf2bce444fce88e7b359ac08815c (diff)
downloadkamek-1ecc9bbfe65096b6f5601385b24095afcc918563.tar.gz
kamek-1ecc9bbfe65096b6f5601385b24095afcc918563.zip
Lots of bug fixes for various bosses, a thundercloud fix, and level special timer improvements.
Diffstat (limited to 'src/boss.cpp')
-rw-r--r--src/boss.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/boss.cpp b/src/boss.cpp
index 72e8121..df553fb 100644
--- a/src/boss.cpp
+++ b/src/boss.cpp
@@ -113,12 +113,10 @@ bool ShrinkBoss(daBoss *actor, Vec *pos, float scale, int timer) {
// actor->pos.y += 2.0;
-
- if (actor->timer == 30) {
+ if (timer == 30) {
SpawnEffect("Wm_ob_starcoinget_gl", 0, pos, &(S16Vec){0,0,0}, &(Vec){2.0, 2.0, 2.0});
SpawnEffect("Wm_mr_vshipattack_hosi", 0, pos, &(S16Vec){0,0,0}, &(Vec){2.0, 2.0, 2.0});
SpawnEffect("Wm_ob_keyget01_b", 0, pos, &(S16Vec){0,0,0}, &(Vec){2.0, 2.0, 2.0});
- actor->timer = 0;
}
if (actor->scale.x < 0) { return true; }