summaryrefslogtreecommitdiff
path: root/src/cgame/cg_draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_draw.c')
-rw-r--r--src/cgame/cg_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c
index da92e8ab..3793d947 100644
--- a/src/cgame/cg_draw.c
+++ b/src/cgame/cg_draw.c
@@ -2435,7 +2435,7 @@ void CG_DrawWeaponIcon( rectDef_t *rect, vec4_t color )
if( weapon == 0 )
return;
- CG_RegisterWeapon( weapon );
+ assert( cg_weapons[ weapon ].registered );
if( ps->clips == 0 && !BG_Weapon( weapon )->infiniteAmmo )
{