summaryrefslogtreecommitdiff
path: root/src/racing
diff options
context:
space:
mode:
Diffstat (limited to 'src/racing')
-rw-r--r--src/racing/actors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/racing/actors.c b/src/racing/actors.c
index 9f71cf294..137e3556e 100644
--- a/src/racing/actors.c
+++ b/src/racing/actors.c
@@ -944,7 +944,7 @@ void spawn_foliage(struct ActorSpawnData* actor) {
position[2] = var_s3->pos[2];
position[1] = var_s3->pos[1];
- if (IsMarioRaceway) {
+ if (IsMarioRaceway()) {
actorType = 2;
} else if (IsBowsersCastle()) {
actorType = 0x0021;
@@ -1706,7 +1706,7 @@ bool collision_tree(Player* player, struct Actor* actor) {
actorPos[0] = actor->pos[0];
actorPos[1] = actor->pos[1];
actorPos[2] = actor->pos[2];
- if (((IsMarioRaceway) || (IsYoshiValley()) ||
+ if (((IsMarioRaceway()) || (IsYoshiValley()) ||
(IsRoyalRaceway()) || (IsLuigiRaceway())) &&
(player->unk_094 > 1.0f)) {
spawn_leaf(actorPos, 0);