mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-24 21:01:34 +00:00
Don't draw ammo HUD background in race with no weapon
This commit is contained in:
parent
f5cfbf2269
commit
67c0b325ec
1 changed files with 1 additions and 1 deletions
|
@ -785,7 +785,7 @@ static void CG_DrawRallyStatusBar( void ) {
|
||||||
|
|
||||||
// draw ammo background
|
// draw ammo background
|
||||||
value = ps->ammo[cent->currentState.weapon];
|
value = ps->ammo[cent->currentState.weapon];
|
||||||
if ( value > -1 )
|
if ( cent->currentState.weapon && value > -1 )
|
||||||
CG_FillRect( 20, 476 - 30, 90, 24, bg_color );
|
CG_FillRect( 20, 476 - 30, 90, 24, bg_color );
|
||||||
|
|
||||||
// health background
|
// health background
|
||||||
|
|
Loading…
Reference in a new issue