From 8ecf6d9e5d2a03e965647ac264940f8cd34eef0a Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 16 Sep 2002 01:24:12 +0000 Subject: * Added global header tremulous.h in preparation for balancing * Constants propogated throughout the source * Various random fixes and tweaks --- src/game/g_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/g_cmds.c') diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 1b2e0156..18b33792 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -1351,7 +1351,7 @@ void Cmd_Buy_f( gentity_t *ent ) if( BG_FindUsesEnergyForWeapon( weapon ) && BG_gotItem( UP_BATTPACK, ent->client->ps.stats ) ) - quan *= 2; + quan = (int)( (float)quan * BATTPACK_MODIFIER ); BG_packAmmoArray( weapon, ent->client->ps.ammo, ent->client->ps.powerups, quan, clips, maxClips ); -- cgit