summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index 923d210f..4bd8e963 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -1277,10 +1277,6 @@ void ABooster_Touch( gentity_t *self, gentity_t *other, trace_t *trace )
if( client->lastBoostedTime + BOOSTER_INTERVAL > level.time )
return;
- //restore ammo, if any
- BG_FindAmmoForWeapon( client->ps.weapon, &maxAmmo, &maxClips );
- BG_PackAmmoArray( client->ps.weapon, client->ps.ammo, client->ps.powerups, maxAmmo, maxClips );
-
if( !( client->ps.stats[ STAT_STATE ] & SS_BOOSTED ) )
{
client->ps.stats[ STAT_STATE ] |= SS_BOOSTED;