diff options
Diffstat (limited to 'src/actors')
| -rw-r--r-- | src/actors/piranha_plant/render.inc.c | 2 | ||||
| -rw-r--r-- | src/actors/trees/render.inc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/actors/piranha_plant/render.inc.c b/src/actors/piranha_plant/render.inc.c index 23d018d1b..ed2281095 100644 --- a/src/actors/piranha_plant/render.inc.c +++ b/src/actors/piranha_plant/render.inc.c @@ -120,7 +120,7 @@ void render_actor_piranha_plant(Camera* arg0, Mat4 arg1, struct PiranhaPlant* ar G_TX_MIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD); - if (GetCourse() == GetMarioRaceway()) { + if (IsMarioRaceway()) { gSPDisplayList(gDisplayListHead++, &d_course_mario_raceway_dl_piranha_plant); } else { gSPDisplayList(gDisplayListHead++, &d_course_royal_raceway_dl_piranha_plant); diff --git a/src/actors/trees/render.inc.c b/src/actors/trees/render.inc.c index cb54275c6..9939d14ef 100644 --- a/src/actors/trees/render.inc.c +++ b/src/actors/trees/render.inc.c @@ -202,7 +202,7 @@ void func_80299864(Camera* camera, Mat4 arg1, struct Actor* arg2) { // Unless both courses use this actor and use the same addr for the texture. // Just in-case changed the code into a switch to prevent future crashes. // This comment can be removed when this is confirmed to work. - if (GetCourse() == GetLuigiRaceway()) { + if (IsLuigiRaceway()) { gSPDisplayList(gDisplayListHead++, d_course_luigi_raceway_dl_FC70); } } |
