mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-12 13:31:33 +00:00
client: ammohistory: fix rendering history with bigger HUD sprites
This commit is contained in:
parent
5ed4d3671b
commit
0362b75fc1
@ -131,7 +131,7 @@ int HistoryResource::DrawAmmoHistory( float flTime )
|
|||||||
|
|
||||||
// Draw the pic
|
// Draw the pic
|
||||||
int ypos = ScreenHeight - (AMMO_PICKUP_PICK_HEIGHT + (AMMO_PICKUP_GAP * i));
|
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
|
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
|
// the dll has to make sure it has sent info the weapons you need
|
||||||
|
Loading…
x
Reference in New Issue
Block a user