summaryrefslogtreecommitdiff
path: root/src/update_objects.c
diff options
context:
space:
mode:
authorMegaMech <7255464+MegaMech@users.noreply.github.com>2025-05-23 11:53:03 -0600
committerMegaMech <7255464+MegaMech@users.noreply.github.com>2025-05-23 11:53:03 -0600
commitdb68d0b1c53bd9e627c0b343870bd0633bf782d4 (patch)
tree88477098a1c71fda6813455e2e1a3c675ebb3da7 /src/update_objects.c
parentba9af8e063b0963d06c667ddf04d8cefbf50dbb4 (diff)
Track unique_ptr : This probably compiles
Diffstat (limited to 'src/update_objects.c')
-rw-r--r--src/update_objects.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/update_objects.c b/src/update_objects.c
index 6d2b8a77a..4a74a0bc7 100644
--- a/src/update_objects.c
+++ b/src/update_objects.c
@@ -2106,19 +2106,19 @@ void init_object_leaf_particle(s32 objectIndex, Vec3f arg1, s32 num) {
gObjectList[objectIndex].sizeScaling = 0.1f;
gObjectList[objectIndex].surfaceHeight = arg1[1];
- if (GetCourse() == GetMarioRaceway()) {
+ 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;
- } else if (GetCourse() == GetYoshiValley()) {
+ } else if (IsYoshiValley()) {
object_origin_pos_randomize_around_xyz(objectIndex, arg1[0], arg1[1] + 25.0, arg1[2], 0x14, 0x1E, 0x14);
gObjectList[objectIndex].unk_034 = 2.0f;
gObjectList[objectIndex].velocity[1] = 2.0f;
- } else if (GetCourse() == GetRoyalRaceway()) {
+ } else if (IsRoyalRaceway()) {
object_origin_pos_randomize_around_xyz(objectIndex, arg1[0], arg1[1] + 30.0, arg1[2], 0x10, 0x28, 0x10);
gObjectList[objectIndex].unk_034 = 2.0f;
gObjectList[objectIndex].velocity[1] = 2.0f;
- } else if (GetCourse() == GetLuigiRaceway()) {
+ } else if (IsLuigiRaceway()) {
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.0f;