summaryrefslogtreecommitdiff
path: root/src/render_objects.c
diff options
context:
space:
mode:
authorcoco875 <59367621+coco875@users.noreply.github.com>2024-04-06 19:35:13 +0200
committerGitHub <noreply@github.com>2024-04-06 11:35:13 -0600
commit2b66867af1975759dc7acfb3bbc2c9063ffa4353 (patch)
treebf8da88f60fc335b9b0529e6ade2f1676e3da610 /src/render_objects.c
parentc4d596d297182d81488c7d09769666de450140bb (diff)
Rename cpu behaviour related symbols (#586)
* Rename cpu related symbols
Diffstat (limited to 'src/render_objects.c')
-rw-r--r--src/render_objects.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render_objects.c b/src/render_objects.c
index 8cef03f3c..bc4a86a58 100644
--- a/src/render_objects.c
+++ b/src/render_objects.c
@@ -2373,13 +2373,13 @@ void func_8004F3E4(s32 arg0) {
case GRAND_PRIX:
for (idx = D_8018D158 - 1; idx >= 0; idx--) {
playerId = gGPCurrentRacePlayerIdByRank[idx];
- if ((gPlayerOne + playerId)->type & PLAYER_CPU) {
+ if ((gPlayerOne + playerId)->type & PLAYER_KART_AI) {
func_8004F168(arg0, playerId, 8);
}
}
for (idx = D_8018D158 - 1; idx >= 0; idx--) {
playerId = gGPCurrentRacePlayerIdByRank[idx];
- if (((gPlayerOne + playerId)->type & PLAYER_CPU) != PLAYER_CPU) {
+ if (((gPlayerOne + playerId)->type & PLAYER_KART_AI) != PLAYER_KART_AI) {
func_8004F168(arg0, playerId, (gPlayerOne + playerId)->characterId);
}
}