summaryrefslogtreecommitdiff
path: root/src/code_80005FD0.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code_80005FD0.c')
-rw-r--r--src/code_80005FD0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code_80005FD0.c b/src/code_80005FD0.c
index a66d410fb..a3d822bc8 100644
--- a/src/code_80005FD0.c
+++ b/src/code_80005FD0.c
@@ -7091,7 +7091,7 @@ void cpu_use_item_strategy(s32 playerId) {
if (((gNumPathPointsTraversed[playerId] + (playerId * 0x14) + 0x64) % 0x8 == 0) &&
(temp_s0->timer >= 0x200)) {
cpu_decisions_branch_item(playerId, &temp_s0->branch,
- gen_random_item_human((s16) gLapCountByPlayerId[playerId],
+ hard_cpu_gen_random_item((s16) gLapCountByPlayerId[playerId],
gGPCurrentRaceRankByPlayerId[playerId]));
}
}