summaryrefslogtreecommitdiff
path: root/src/enemyUtils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/enemyUtils.c')
-rw-r--r--src/enemyUtils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/enemyUtils.c b/src/enemyUtils.c
index 04281240..ed13377f 100644
--- a/src/enemyUtils.c
+++ b/src/enemyUtils.c
@@ -314,9 +314,9 @@ void EnemyDetachFX(Entity* entity) {
/** Unsets bitfield 0x80 before calling GetNextFunction, so that the enemyFunction 1 is not called. */
void EnemyFunctionHandlerAfterCollision(Entity* entity, void (*const fntable[])()) {
u32 idx;
- entity->contactFlags &= ~0x80;
+ entity->contactFlags &= ~CONTACT_TAKE_DAMAGE;
idx = GetNextFunction(entity);
- entity->contactFlags |= 0x80;
+ entity->contactFlags |= CONTACT_TAKE_DAMAGE;
fntable[idx](entity);
}