diff options
Diffstat (limited to 'src/boss.cpp')
-rw-r--r-- | src/boss.cpp | 4 |
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; } |