2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-25 03:09:24 +01:00

Do not draw black console characters

This commit is contained in:
mittorn 2016-03-02 08:00:09 +00:00
parent d254f1bd0e
commit f8f80b9a08

View File

@ -137,8 +137,10 @@ int HistoryResource :: DrawAmmoHistory( float flTime )
SPR_DrawAdditive( 0, xpos, ypos, &rcPic );
}
// Draw the number
gHUD.DrawHudNumberString( xpos - 10, ypos, xpos - 100, rgAmmoHistory[i].iCount, r, g, b );
// do not draw black console string
if( !(( hud_textmode->value == 2 ) && ( scale < 200 )) )
// Draw the number
gHUD.DrawHudNumberString( xpos - 10, ypos, xpos - 100, rgAmmoHistory[i].iCount, r, g, b );
}
else if ( rgAmmoHistory[i].type == HISTSLOT_WEAP )
{