diff options
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_draw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index 68f3d3b0..e4c0402a 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -929,6 +929,9 @@ static void CG_DrawPlayerAmmoValue( rectDef_t *rect, vec4_t color ) BG_unpackAmmoArray( cent->currentState.weapon, ps->ammo, ps->powerups, &value, NULL, NULL ); break; } + + if( value > 999 ) + value = 999; if( value > -1 ) { |