From a5412486df5c410084fe8a9c487f565d64cda01a Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sat, 3 Oct 2009 13:04:25 +0000 Subject: Improve timing of weapon change feedback --- src/cgame/cg_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index b12174f2..144e6983 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -2049,7 +2049,7 @@ void CG_DrawWeaponIcon( rectDef_t *rect, vec4_t color ) cent = &cg_entities[ cg.snap->ps.clientNum ]; ps = &cg.snap->ps; - weapon = BG_GetPlayerWeapon( ps ); + weapon = ps->weapon; maxAmmo = BG_Weapon( weapon )->maxAmmo; -- cgit