Browse Source

Do not draw black console characters

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

2
cl_dll/ammohistory.cpp

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

Loading…
Cancel
Save