summaryrefslogtreecommitdiff
path: root/src/object/lavaPlatform.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/lavaPlatform.c')
-rw-r--r--src/object/lavaPlatform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/lavaPlatform.c b/src/object/lavaPlatform.c
index 5db1f0b9..619bc685 100644
--- a/src/object/lavaPlatform.c
+++ b/src/object/lavaPlatform.c
@@ -131,7 +131,7 @@ void LavaPlatform_Type1Action1(LavaPlatformEntity* this) {
}
void LavaPlatform_Type1Action2(LavaPlatformEntity* this) {
- if (super->contactFlags == 0x9d) {
+ if (super->contactFlags == (CONTACT_TAKE_DAMAGE | 0x1d)) {
sub_08092620(this);
} else {
if (LavaPlatform_IsPlayerOnPlatform(this)) {
@@ -223,7 +223,7 @@ void LavaPlatform_Type1Action6(LavaPlatformEntity* this) {
}
void LavaPlatform_Type1Action7(LavaPlatformEntity* this) {
- if (super->contactFlags == 0x9d) {
+ if (super->contactFlags == (CONTACT_TAKE_DAMAGE | 0x1d)) {
sub_08092620(this);
}
}