diff options
author | Tim Angus <tim@ngus.net> | 2002-09-23 04:38:55 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2002-09-23 04:38:55 +0000 |
commit | 67604720f961f7f3b30984a3b0699f7eabb828f5 (patch) | |
tree | b16bd7d6afea3a240a60beab901aabe8b2a30425 /src/game/g_weapon.c | |
parent | a3f567734f3df2346ba042860fa2a7988963e51c (diff) |
* Fixed build timer bug
* Crosshair per weapon
* Added dlight to flame balls - bit of a performance hit
* Tweaked flamer repeat rate
* Fixed human buildable explosion sound (FIXME: sync with anims?)
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r-- | src/game/g_weapon.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c index 0837d7e2..e2d37d57 100644 --- a/src/game/g_weapon.c +++ b/src/game/g_weapon.c @@ -474,9 +474,11 @@ void buildFire( gentity_t *ent, dynMenu_t menu ) return; } - G_ValidateBuild( ent, ent->client->ps.stats[ STAT_BUILDABLE ] & ~SB_VALID_TOGGLEBIT ); - ent->client->ps.stats[ STAT_BUILDABLE ] = BA_NONE; - ent->client->ps.stats[ STAT_MISC ] += BG_FindBuildDelayForWeapon( ent->s.weapon ); + if( G_ValidateBuild( ent, ent->client->ps.stats[ STAT_BUILDABLE ] & ~SB_VALID_TOGGLEBIT ) ) + { + ent->client->ps.stats[ STAT_BUILDABLE ] = BA_NONE; + ent->client->ps.stats[ STAT_MISC ] += BG_FindBuildDelayForWeapon( ent->s.weapon ); + } return; } |