option/controls: fix too sensitive remapping

Resolves #5.
This commit is contained in:
Marcin Kurczewski 2024-09-05 00:58:26 +02:00
parent cd9744b3c4
commit 399c8ae5da
No known key found for this signature in database
GPG Key ID: CC65E6FD28CAE42A
2 changed files with 2 additions and 5 deletions

View File

@ -17,6 +17,7 @@
- fixed explosions sometimes being drawn too dark (#187)
- fixed killing the T-Rex with a grenade launcher crashing the game (#168)
- fixed secret rewards not displaying shotgun ammo (#159)
- fixed controls dialog remapping being too sensitive (#5)
- fixed `/tp` console command during special animations in HSH and Offshore Rig (#178, regression from 0.2)
- fixed console commands being able to interfere with demos, cutscenes and the title screen (#182, #179, regression from 0.2)
- fixed console registering key inputs too eagerly (regression from 0.2)

View File

@ -160,15 +160,11 @@ static void Option_Controls_Control_Navigate(void)
static void Option_Controls_Control_WaitToListen(void)
{
if (g_InputDB & IN_SELECT) {
g_Input = 0;
g_InputDB = 0;
if (g_Input) {
return;
}
m_State = STATE_LISTEN;
g_Input = 0;
g_InputDB = 0;
}
static void Option_Controls_Control_Listen(void)