From f302ccb715b4bfc6c37c26dcc6afa37f81aed23e Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Tue, 24 Mar 2020 07:08:09 +1100 Subject: [PATCH] Change Next/Previous Weapon button handling for Blood. - Makes consistent with Duke 3D and RR. - Makes weapon selection work in Windows until refactoring can occur. --- source/blood/src/controls.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blood/src/controls.cpp b/source/blood/src/controls.cpp index 44c3f2b99..bd5a2d5de 100644 --- a/source/blood/src/controls.cpp +++ b/source/blood/src/controls.cpp @@ -159,13 +159,13 @@ void ctrlGetInput(void) cl_crosshair = !cl_crosshair; } - if (buttonMap.ButtonDown(gamefunc_Next_Weapon)) + if (buttonMap.ButtonPressed(gamefunc_Next_Weapon)) { buttonMap.ClearButton(gamefunc_Next_Weapon); gInput.keyFlags.nextWeapon = 1; } - if (buttonMap.ButtonDown(gamefunc_Previous_Weapon)) + if (buttonMap.ButtonPressed(gamefunc_Previous_Weapon)) { buttonMap.ClearButton(gamefunc_Previous_Weapon); gInput.keyFlags.prevWeapon = 1;