From 88f875b5c2ce0eff085084535c6fa23f2b30470c Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 13 Jan 2002 17:15:50 +0000 Subject: Staging transitions. Battpack. Half jetpack --- src/game/bg_pmove.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game/bg_pmove.c') diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c index 42281d8d..ce976a8e 100644 --- a/src/game/bg_pmove.c +++ b/src/game/bg_pmove.c @@ -2175,6 +2175,10 @@ static void PM_Weapon( void ) BG_FindAmmoForWeapon( pm->ps->weapon, &ammo, NULL, NULL ); } + if( BG_FindUsesEnergyForWeapon( pm->ps->weapon ) && + BG_gotItem( UP_BATTPACK, pm->ps->stats ) ) + ammo *= 2; + BG_packAmmoArray( pm->ps->weapon, pm->ps->ammo, pm->ps->powerups, ammo, clips, maxclips ); } -- cgit