summaryrefslogtreecommitdiff
path: root/src/code_80086E70.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/code_80086E70.c
parentc4d596d297182d81488c7d09769666de450140bb (diff)
Rename cpu behaviour related symbols (#586)
* Rename cpu related symbols
Diffstat (limited to 'src/code_80086E70.c')
-rw-r--r--src/code_80086E70.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code_80086E70.c b/src/code_80086E70.c
index 869fd78d1..af7e2339d 100644
--- a/src/code_80086E70.c
+++ b/src/code_80086E70.c
@@ -1041,7 +1041,7 @@ void func_80089474(s32 objectIndex, s32 playerId, f32 arg2, f32 arg3, u32 soundB
if (is_obj_flag_status_active(objectIndex, 0x04000000) != 0) {
func_80072180();
}
- if ((func_8008933C(player, objectIndex, arg2, arg3) >= 4.0) && ((player->type & PLAYER_CPU) != PLAYER_CPU)) {
+ if ((func_8008933C(player, objectIndex, arg2, arg3) >= 4.0) && ((player->type & PLAYER_KART_AI) != PLAYER_KART_AI)) {
func_800C9060(playerId, soundBits);
}
}
@@ -1051,7 +1051,7 @@ void func_80089538(s32 objectIndex, s32 playerId, f32 arg2, f32 arg3, u32 soundB
Player *player;
player = &gPlayerOne[playerId];
- if ((func_8008933C(player, objectIndex, arg2, arg3) >= 4.0) && ((player->type & PLAYER_CPU) != PLAYER_CPU)) {
+ if ((func_8008933C(player, objectIndex, arg2, arg3) >= 4.0) && ((player->type & PLAYER_KART_AI) != PLAYER_KART_AI)) {
func_800C9060((u8) playerId, soundBits);
}
}
@@ -1109,7 +1109,7 @@ void func_80089820(s32 objectIndex, f32 arg1, f32 arg2, u32 arg3) {
if (is_obj_flag_status_active(objectIndex, 0x04000000) != 0) {
func_80072180();
}
- if ((func_8008933C(player, objectIndex, arg1, arg2 * 1.1) >= 4.0) && ((player->type & PLAYER_CPU) != PLAYER_CPU)) {
+ if ((func_8008933C(player, objectIndex, arg1, arg2 * 1.1) >= 4.0) && ((player->type & PLAYER_KART_AI) != PLAYER_KART_AI)) {
func_800C9060(var_s1, arg3);
}
}