mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-25 03:09:24 +01:00
client: ammohistory: fix rendering history with bigger HUD sprites
This commit is contained in:
parent
c299495477
commit
58bc7ea53e
@ -131,7 +131,7 @@ int HistoryResource::DrawAmmoHistory( float flTime )
|
||||
|
||||
// Draw the pic
|
||||
int ypos = ScreenHeight - (AMMO_PICKUP_PICK_HEIGHT + (AMMO_PICKUP_GAP * i));
|
||||
int xpos = ScreenWidth - 24;
|
||||
int xpos = ScreenWidth - (rcPic.right - rcPic.left);
|
||||
if( spr && *spr ) // weapon isn't loaded yet so just don't draw the pic
|
||||
{
|
||||
// the dll has to make sure it has sent info the weapons you need
|
||||
|
Loading…
Reference in New Issue
Block a user