From 3e1599ac4bed2adb125600fd99b44f4167a75cd9 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Fri, 10 Nov 2017 21:09:01 -0600 Subject: [PATCH] Fix my previous commit about -1 ammo --- code/cgame/cg_playerstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/cgame/cg_playerstate.c b/code/cgame/cg_playerstate.c index fa79bcb3..f48e7b3b 100644 --- a/code/cgame/cg_playerstate.c +++ b/code/cgame/cg_playerstate.c @@ -47,7 +47,7 @@ void CG_CheckAmmo( void ) { if ( ! ( weapons & ( 1 << i ) ) ) { continue; } - if ( cg.cur_ps->ammo[i] < 0 ) { + if ( cg.snap->ps.ammo[i] < 0 ) { continue; } switch ( i ) {