summaryrefslogtreecommitdiff
path: root/src/boss.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boss.cpp')
-rw-r--r--src/boss.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/boss.cpp b/src/boss.cpp
index b484171..e5be583 100644
--- a/src/boss.cpp
+++ b/src/boss.cpp
@@ -12,8 +12,15 @@ void DamagePlayer(dEn_c *actor, ActivePhysics *apThis, ActivePhysics *apOther) {
// fix multiple player collisions via megazig
actor->isDead = 0;
actor->flags_4FC |= (1<<(31-7));
- actor->counter_504[apOther->owner->which_player] = 0;
- OSReport("Player is good and hurt\n");
+ if (apOther->owner->which_player == 255 ) {
+ actor->counter_504[0] = 0;
+ actor->counter_504[1] = 0;
+ actor->counter_504[2] = 0;
+ actor->counter_504[3] = 0;
+ }
+ else {
+ actor->counter_504[apOther->owner->which_player] = 0;
+ }
}
@@ -68,7 +75,6 @@ bool GrowBoss(daBoss *actor, daKameckDemo *Kameck, float initialScale, float end
if (timer == 150) { PlaySound(actor, SE_BOSS_IGGY_WANWAN_TO_L); OSReport("Timer = 150\n"); }
if ((timer > 150) && (timer < 230)) {
- OSReport("Timer = %d\n", timer);
scaleSpeed = (endScale -initialScale) / 80.0;
float modifier;