diff options
| author | MegaMech <7255464+MegaMech@users.noreply.github.com> | 2025-05-23 16:01:32 -0600 |
|---|---|---|
| committer | MegaMech <7255464+MegaMech@users.noreply.github.com> | 2025-05-23 16:01:32 -0600 |
| commit | d68dc0ec1262165e174ab80bd80ff7e995f41c72 (patch) | |
| tree | baa019b5df4e23b18f069b435a208c19a2b592c2 /src/racing | |
| parent | bf28a20d05d9eeca96b4ffa943a43f9f3e4ef2c1 (diff) | |
Fix error
Diffstat (limited to 'src/racing')
| -rw-r--r-- | src/racing/actors.c | 4 |
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); |
