Skip to content

Commit

Permalink
Remove unused ITEM_INFO struct
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeSlave committed Nov 8, 2024
1 parent cfde15f commit eb5870b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions cl_dll/ammohistory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,6 @@ HistoryResource gHR;
#define AMMO_PICKUP_PICK_HEIGHT ( 32 + ( gHR.iHistoryGap * 2 ) )
#define AMMO_PICKUP_HEIGHT_MAX ( ScreenHeight - 100 )

#define MAX_ITEM_NAME 32

// keep a list of items
struct ITEM_INFO
{
char szName[MAX_ITEM_NAME];
HSPRITE spr;
wrect_t rect;
};

void HistoryResource::AddToHistory( int iType, int iId, int iCount )
{
if( iType == HISTSLOT_AMMO && !iCount )
Expand Down

0 comments on commit eb5870b

Please sign in to comment.