Skip to content

Commit

Permalink
Client: LoadSprite: Use res from HUD (#193)
Browse files Browse the repository at this point in the history
Resolves #193
  • Loading branch information
tmp64 committed Dec 3, 2023
1 parent 9ddc1b4 commit e1f155a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/game/client/cl_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,8 @@ void ConsolePrint(const char *string)

HSPRITE LoadSprite(const char *pszName)
{
int i;
char sz[256];

if (ScreenWidth < 640)
i = 320;
else
i = 640;

sprintf(sz, pszName, i);

sprintf(sz, pszName, gHUD.m_iRes);
return SPR_Load(sz);
}

Expand Down

0 comments on commit e1f155a

Please sign in to comment.