summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2017-04-13 11:30:00 +0000
committer/dev/humancontroller <devhc@example.com>2017-04-15 17:24:20 +0200
commit6928f08f262b38d32c6e4380969f919b5de1bbc3 (patch)
tree21fb1d1bd58dc6ee72f14d9adbf6f4a5bd380ae0 /src/game
parent5113fbfc0c949a7c5729bf7fece55a9bde7e7720 (diff)
remove obscure build timer doubling cases
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_weapon.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index 2cb91d5..ab2a5d3 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -830,17 +830,6 @@ void buildFire( gentity_t *ent, dynMenu_t menu )
{
ent->client->ps.stats[ STAT_MISC ] = 0;
}
- else if( ent->client->ps.stats[ STAT_PTEAM ] == PTE_ALIENS && !G_IsOvermindBuilt( ) )
- {
- ent->client->ps.stats[ STAT_MISC ] +=
- BG_FindBuildDelayForWeapon( ent->s.weapon ) * 2;
- }
- else if( ent->client->ps.stats[ STAT_PTEAM ] == PTE_HUMANS && !G_IsPowered( muzzle ) &&
- ( ent->client->ps.stats[ STAT_BUILDABLE ] & ~SB_VALID_TOGGLEBIT ) != BA_H_REPEATER ) //hack
- {
- ent->client->ps.stats[ STAT_MISC ] +=
- BG_FindBuildDelayForWeapon( ent->s.weapon ) * 2;
- }
else
ent->client->ps.stats[ STAT_MISC ] +=
BG_FindBuildDelayForWeapon( ent->s.weapon );