Skip to content

Commit

Permalink
Fix cold fuzzy shell collision
Browse files Browse the repository at this point in the history
  • Loading branch information
Luminyx1 committed Nov 19, 2022
1 parent 71c222c commit 2804093
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion source/actors/coldfuzzy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include "game/direction.h"
#include "game/effect/effect.h"
#include "sead/random.h"
#include "math/functions.h"

const u32 timerThreshold = 315;

Expand All @@ -31,6 +30,7 @@ class ColdFuzzy : public Enemy {
bool collisionGroundPound(HitboxCollider* hcSelf, HitboxCollider* hcOther) override;
bool collisionSlide(HitboxCollider* hcSelf, HitboxCollider* hcOther) override;
bool collisionPenguinSlide(HitboxCollider* hcSelf, HitboxCollider* hcOther) override;
bool collisionThrowableObject(HitboxCollider* hcSelf, HitboxCollider* hcOther) override;

static HitboxCollider::Info collisionInfo;

Expand Down Expand Up @@ -150,3 +150,9 @@ bool ColdFuzzy::collisionPenguinSlide(HitboxCollider* hcSelf, HitboxCollider* hc

return true;
}

bool ColdFuzzy::collisionThrowableObject(HitboxCollider* hcSelf, HitboxCollider* hcOther) {
this->collisionStar(hcSelf, hcOther);

return true;
}

0 comments on commit 2804093

Please sign in to comment.