From f7b5399b8abc2fc63f5c8d1e021fbe9f449944d0 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 12 Apr 2015 19:24:07 +0200 Subject: Fix Mass Driver not being able to fire while zoomed. --- src/game/bg_pmove.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game/bg_pmove.c') diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c index 051f6e6..49eb793 100644 --- a/src/game/bg_pmove.c +++ b/src/game/bg_pmove.c @@ -3430,6 +3430,11 @@ static void PM_Weapon( void ) case WP_MASS_DRIVER: + if( pm->ps->ammo > 6 && attack3 ) + attack3 = attack2 = qtrue; + else + attack2 = attack3 = qfalse; + //attack2 is handled on the client for zooming (cg_view.c) if( !attack1 ) { -- cgit