Browse Source

Do not draw black console characters

foolsday
mittorn 9 years ago
parent
commit
f8f80b9a08
  1. 6
      cl_dll/ammohistory.cpp

6
cl_dll/ammohistory.cpp

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

Loading…
Cancel
Save