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

Commit

Permalink
overlay: fix regression in pickup display (#215)
Browse files Browse the repository at this point in the history
Resolves #213.
  • Loading branch information
lahm86 authored Sep 8, 2024
1 parent 2ae0b72 commit db17390
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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);

0 comments on commit db17390

Please sign in to comment.