Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

overlay: fix regression in pickup display #215

Merged
merged 1 commit into from
Sep 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/game/overlay.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ void __cdecl Overlay_DrawPickups(const bool timed)
}
}

void __cdecl Overlay_AddDisplayPickup(const GAME_OBJECT_ID object_id)
void __cdecl Overlay_AddDisplayPickup(const int16_t object_id)
{
if (object_id == O_SECRET_1 || object_id == O_SECRET_2
|| object_id == O_SECRET_3) {
Expand Down
2 changes: 1 addition & 1 deletion src/game/overlay.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ void __cdecl Overlay_MakeAmmoString(char *string);
void __cdecl Overlay_DrawAmmoInfo(void);
void __cdecl Overlay_InitialisePickUpDisplay(void);
void __cdecl Overlay_DrawPickups(bool pickup_state);
void __cdecl Overlay_AddDisplayPickup(GAME_OBJECT_ID object_id);
void __cdecl Overlay_AddDisplayPickup(int16_t object_id);
void __cdecl Overlay_DisplayModeInfo(const char *string);
void __cdecl Overlay_DrawModeInfo(void);