Skip to content

Commit

Permalink
weird build thingy
Browse files Browse the repository at this point in the history
git-svn-id: svn://forre.st/ubp@1082 470744a7-cac9-478e-843e-5ec1b25c69e8
  • Loading branch information
forrest authored and forrestv committed Dec 19, 2011
1 parent 918494e commit 822c083
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/game/g_weapon.c
Expand Up @@ -826,17 +826,17 @@ void buildFire( gentity_t *ent, dynMenu_t menu )
}
else if( ent->client->ps.stats[ STAT_PTEAM ] == PTE_ALIENS && !G_IsOvermindBuilt( ) )
{
ent->client->ps.stats[ STAT_MISC ] +=
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 ] +=
ent->client->ps.stats[ STAT_MISC ] =
BG_FindBuildDelayForWeapon( ent->s.weapon ) * 2;
}
else
ent->client->ps.stats[ STAT_MISC ] +=
ent->client->ps.stats[ STAT_MISC ] =
BG_FindBuildDelayForWeapon( ent->s.weapon );

ent->client->ps.stats[ STAT_BUILDABLE ] = BA_NONE;
Expand Down

0 comments on commit 822c083

Please sign in to comment.