summaryrefslogtreecommitdiff
path: root/src/update_objects.c
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2025-06-22 09:06:10 -0600
committerGitHub <noreply@github.com>2025-06-22 09:06:10 -0600
commitbe8b88fdf224e3399b368814537d207189f9ea2c (patch)
tree101133bc04fc6b5c44f66f26ede8c5d96a1dbf71 /src/update_objects.c
parent3d568038b5c9a66abba72e2e657c04d8cb060780 (diff)
Fix special itemboxes providing Bananas instead (#310)
* Update update_objects.h * Update update_objects.c * Update actors.c
Diffstat (limited to 'src/update_objects.c')
-rw-r--r--src/update_objects.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/update_objects.c b/src/update_objects.c
index 12a7d69ed..729af088c 100644
--- a/src/update_objects.c
+++ b/src/update_objects.c
@@ -2610,14 +2610,14 @@ void func_80078C70(s32 arg0) {
}
}
-void func_8007ABFC(s32 playerId, bool arg1) {
+void func_8007ABFC(s32 playerId, s32 arg1) {
s32 itemWindow;
if (playerHUD[playerId].raceCompleteBool == false) {
itemWindow = gItemWindowObjectByPlayerId[playerId];
if (func_80072354(itemWindow, 4) != 0) {
init_object(itemWindow, 0);
- if (arg1 != 0) {
+ if (arg1 != ITEM_NONE) {
playerHUD[playerId].itemOverride = arg1;
}
}