summaryrefslogtreecommitdiff
path: root/src/object/dirtParticle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/dirtParticle.c')
-rw-r--r--src/object/dirtParticle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object/dirtParticle.c b/src/object/dirtParticle.c
index ac7e848e..cfd0295a 100644
--- a/src/object/dirtParticle.c
+++ b/src/object/dirtParticle.c
@@ -78,7 +78,7 @@ void DirtParticle_Init(DirtParticleEntity* this) {
super->health = 1;
super->collisionFlags = 7;
super->hitType = 0xaa;
- super->flags2 = 0x0e;
+ super->collisionMask = 0x0e;
super->hitbox = (Hitbox*)&gUnk_08120A8C;
super->gustJarFlags = 0;
case 2:
@@ -101,7 +101,7 @@ void DirtParticle_Init(DirtParticleEntity* this) {
void DirtParticle_Action1(DirtParticleEntity* this) {
DirtParticleEntity* entity;
- if ((super->contactFlags & CONTACT_TAKE_DAMAGE) == 0) {
+ if ((super->contactFlags & CONTACT_NOW) == 0) {
return;
}
switch (super->contactFlags & 0x7f) {
@@ -128,7 +128,7 @@ void DirtParticle_Action3(DirtParticleEntity* this) {
sub_08087B9C,
sub_08087B9C,
};
- if ((super->contactFlags & CONTACT_TAKE_DAMAGE) != 0) {
+ if ((super->contactFlags & CONTACT_NOW) != 0) {
gUnk_08120A80[super->subAction](this);
} else {
super->action = 1;