summaryrefslogtreecommitdiff
path: root/src/object/itemOnGround.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/itemOnGround.c')
-rw-r--r--src/object/itemOnGround.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/itemOnGround.c b/src/object/itemOnGround.c
index dc9d0975..b3f6f045 100644
--- a/src/object/itemOnGround.c
+++ b/src/object/itemOnGround.c
@@ -63,7 +63,7 @@ void ItemOnGround(ItemOnGroundEntity* this) {
static void (*const ItemOnGround_Actions[])(ItemOnGroundEntity*) = {
ItemOnGround_Init, ItemOnGround_Action1, ItemOnGround_Action2, ItemOnGround_Action3, ItemOnGround_Action4,
};
- if (super->contactFlags & 0x80) {
+ if (super->contactFlags & CONTACT_TAKE_DAMAGE) {
switch (super->contactFlags & 0x7F) {
case 20:
super->action = 3;