From 5617000f7756ba4edd39e6bc5ffc79b318329631 Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Wed, 18 Jan 2023 21:31:36 -0800 Subject: [PATCH] NSClientPlayer: allow player to hold down Secondary attack after holding down Primary. --- src/shared/NSClientPlayer.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shared/NSClientPlayer.qc b/src/shared/NSClientPlayer.qc index 9341023e..96e4047a 100644 --- a/src/shared/NSClientPlayer.qc +++ b/src/shared/NSClientPlayer.qc @@ -184,12 +184,12 @@ NSClientPlayer::ProcessInput(void) } /* weapon system */ - if (input_buttons & INPUT_BUTTON0) + if (input_buttons & INPUT_BUTTON3) + Weapons_Secondary(this); + else if (input_buttons & INPUT_BUTTON0) Weapons_Primary(this); else if (input_buttons & INPUT_BUTTON4) Weapons_Reload(this); - else if (input_buttons & INPUT_BUTTON3) - Weapons_Secondary(this); else Weapons_Release(this); }