NSClientPlayer: allow player to hold down Secondary attack after holding down Primary.

This commit is contained in:
Marco Cawthorne 2023-01-18 21:31:36 -08:00
parent 94564e0697
commit 5617000f77
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}