From 9283375b13dd451a6e952f44c25a3d4a036387a9 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Tue, 3 Sep 2024 09:57:28 +0200 Subject: [PATCH] demo: fix console input immediately ending demo Resolves #1480. --- CHANGELOG.md | 1 + src/game/phase/phase_demo.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e291a52fc..222f33f0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - fixed `/give` console command confusing logging around mismatched items (#1463, regression from 3.0) - fixed `/flip` console command misreporting an already enabled flipmap as off (regression from 4.0) - fixed console commands causing improper ring shutdown with selected inventory item (#1460, regression from 3.0) +- fixed console input immediately ending demo (#1480, regression from 4.1) - improved level load times - improved logs module names readability - improved crash debug information on Windows diff --git a/src/game/phase/phase_demo.c b/src/game/phase/phase_demo.c index 723667737..e1345cb7c 100644 --- a/src/game/phase/phase_demo.c +++ b/src/game/phase/phase_demo.c @@ -254,6 +254,7 @@ static PHASE_CONTROL Phase_Demo_Run(int32_t nframes) // Discard demo input; check for debounced real keypresses g_Input = m_OldInput; Input_Update(); + Shell_ProcessInput(); if (g_InputDB.any) { m_State = STATE_FADE_OUT; goto end;