summaryrefslogtreecommitdiff
path: root/src/game/g_team.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_team.c')
-rw-r--r--src/game/g_team.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_team.c b/src/game/g_team.c
index f92936f..ad0873c 100644
--- a/src/game/g_team.c
+++ b/src/game/g_team.c
@@ -302,7 +302,7 @@ void G_BalanceTeams( void )
// Refund all weapons and equipment before team change
for( i = WP_NONE+1; i < WP_NUM_WEAPONS; ++i )
{
- if ( i == WP_HBUILD && ent->client->ps.stats[ STAT_MISC ] > 0 )
+ if ( i == WP_HBUILD && ent->client->ps.stats[ STAT_BUILD_TIMER ] > 0 )
continue;
if (BG_InventoryContainsWeapon( i, ent->client->ps.stats ) && BG_Weapon( i )->purchasable )
{