summaryrefslogtreecommitdiff
path: root/src/update_objects.c
diff options
context:
space:
mode:
authorMegaMech <7255464+MegaMech@users.noreply.github.com>2025-05-23 16:01:32 -0600
committerMegaMech <7255464+MegaMech@users.noreply.github.com>2025-05-23 16:01:32 -0600
commitd68dc0ec1262165e174ab80bd80ff7e995f41c72 (patch)
treebaa019b5df4e23b18f069b435a208c19a2b592c2 /src/update_objects.c
parentbf28a20d05d9eeca96b4ffa943a43f9f3e4ef2c1 (diff)
Fix error
Diffstat (limited to 'src/update_objects.c')
-rw-r--r--src/update_objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update_objects.c b/src/update_objects.c
index 4a74a0bc7..0435a69d7 100644
--- a/src/update_objects.c
+++ b/src/update_objects.c
@@ -2106,7 +2106,7 @@ void init_object_leaf_particle(s32 objectIndex, Vec3f arg1, s32 num) {
gObjectList[objectIndex].sizeScaling = 0.1f;
gObjectList[objectIndex].surfaceHeight = arg1[1];
- if (IsMarioRaceway) {
+ if (IsMarioRaceway()) {
object_origin_pos_randomize_around_xyz(objectIndex, arg1[0], arg1[1] + 25.0, arg1[2], 0x14, 0x1E, 0x14);
gObjectList[objectIndex].unk_034 = 1.5f;
gObjectList[objectIndex].velocity[1] = 1.5f;