summaryrefslogtreecommitdiff
path: root/src/cgame/cg_playerstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_playerstate.c')
-rw-r--r--src/cgame/cg_playerstate.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cgame/cg_playerstate.c b/src/cgame/cg_playerstate.c
index 7573b471..e8a94a2e 100644
--- a/src/cgame/cg_playerstate.c
+++ b/src/cgame/cg_playerstate.c
@@ -43,11 +43,11 @@ void CG_CheckAmmo( void ) {
BG_unpackAmmoArray( i, cg.snap->ps.ammo, cg.snap->ps.powerups, &ammo, &clips, &maxclips );
switch ( i ) {
- case WP_ROCKET_LAUNCHER:
+ /*case WP_ROCKET_LAUNCHER:*/
case WP_LOCKBLOB_LAUNCHER:
- case WP_GRENADE_LAUNCHER:
- case WP_RAILGUN:
- case WP_SHOTGUN:
+ /*case WP_GRENADE_LAUNCHER:*/
+ /*case WP_RAILGUN:*/
+ /*case WP_SHOTGUN:*/
total += ammo * 1000;
break;
default:
@@ -56,7 +56,7 @@ void CG_CheckAmmo( void ) {
total += ammo * 200;
break;
}
- if ( total >= 5000 || BG_infiniteAmmo( i ) )
+ if ( total >= 5000 || BG_FindInfinteAmmoForWeapon( i ) )
{
cg.lowAmmoWarning = 0;
return;