From 6928f08f262b38d32c6e4380969f919b5de1bbc3 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Thu, 13 Apr 2017 11:30:00 +0000 Subject: remove obscure build timer doubling cases --- src/game/g_weapon.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src') 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 ); -- cgit