summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2020-02-22 00:10:50 +0000
committerIronClawTrem <louie.nutman@gmail.com>2020-02-22 00:10:50 +0000
commit09c8ff57b88755f557bab5cb1aa5168fb6d78cb2 (patch)
tree2ef7fe7928bdb087df6ca0183d142d0b95491701 /src/game
parent758c6cd063cd59eddbf52ef5de480f1917acbd81 (diff)
remove zoom sounds for lasgun
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_active.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index fcb888a..5076873 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -588,8 +588,7 @@ void ClientTimerActions( gentity_t *ent, int msec )
client->time10000 += msec;
// zoom detection
- if( BG_InventoryContainsWeapon( WP_MASS_DRIVER, ent->client->ps.stats )
- || BG_InventoryContainsWeapon( WP_LAS_GUN, ent->client->ps.stats ) )
+ if( BG_InventoryContainsWeapon( WP_MASS_DRIVER, ent->client->ps.stats ) )
{
if( ( ucmd->buttons & BUTTON_ATTACK2 ) && !( ent->client->ps.eFlags & EF_ZOOM ) )
client->ps.eFlags |= EF_ZOOM;