fix a likely bug in exclamation boxes where high behavior ids don't work
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run

This commit is contained in:
Isaac0-dev 2025-05-21 11:53:32 +10:00
parent ce67d8c0a5
commit c27b9c0e87

View file

@ -104,7 +104,7 @@ static s32 exclamation_replace_model(struct MarioState* m, s32 model) {
}
}
void exclamation_box_spawn_contents(struct ExclamationBoxContent *content, u8 itemId) {
void exclamation_box_spawn_contents(struct ExclamationBoxContent *content, s16 itemId) {
if (content == NULL) { return; }
struct MarioState* marioState = nearest_mario_state_to_object(o);
struct Object* player = marioState ? marioState->marioObj : NULL;