summaryrefslogtreecommitdiff
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/objects/Thwomp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/objects/Thwomp.cpp b/src/engine/objects/Thwomp.cpp
index b783395b7..2f8281cb6 100644
--- a/src/engine/objects/Thwomp.cpp
+++ b/src/engine/objects/Thwomp.cpp
@@ -54,7 +54,7 @@ OThwomp::OThwomp(s16 x, s16 z, s16 direction, f32 scale, s16 behaviour, s16 prim
_faceDirection = direction;
_boundingBoxSize = boundingBoxSize;
State = (States)behaviour;
-
+
find_unused_obj_index(&_objectIndex);
s32 objectId = _objectIndex;
@@ -650,11 +650,11 @@ void OThwomp::func_80080B28(s32 objectIndex, s32 playerId) {
player->unk_040 = (s16) objectIndex;
player->unk_046 |= 2;
player->soundEffects |= 0x100;
- func_80088FF0(player);
+ reset_player_speed_and_velocity(player);
}
}
} else {
- func_80088FF0(player);
+ reset_player_speed_and_velocity(player);
}
}
}