From 762c3ebbf68d33f0b228b9ffd1983b32a5346b0e Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 1 Aug 2019 06:49:43 +0000 Subject: [PATCH] Add sc_Space to I_AdvanceTrigger() and I_AdvanceTriggerClear() git-svn-id: https://svn.eduke32.com/eduke32@7856 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/input.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/duke3d/src/input.cpp b/source/duke3d/src/input.cpp index 3461fb740..af34a3d74 100644 --- a/source/duke3d/src/input.cpp +++ b/source/duke3d/src/input.cpp @@ -56,6 +56,7 @@ void I_ClearAllInput(void) int32_t I_AdvanceTrigger(void) { return ( + KB_KeyPressed(sc_Space) || KB_KeyPressed(sc_kpad_Enter) || KB_KeyPressed(sc_Enter) || #if !defined EDUKE32_TOUCH_DEVICES @@ -77,6 +78,7 @@ int32_t I_AdvanceTrigger(void) void I_AdvanceTriggerClear(void) { KB_FlushKeyboardQueue(); + KB_ClearKeyDown(sc_Space); KB_ClearKeyDown(sc_kpad_Enter); KB_ClearKeyDown(sc_Enter); MOUSE_ClearButton(LEFT_MOUSE);