From 1f2adee119de9b4682a6fa3df7d42c5aeb976926 Mon Sep 17 00:00:00 2001 From: fickleheart Date: Sat, 6 Apr 2019 15:36:53 -0500 Subject: [PATCH] Allow backwards frame advance while paused --- src/m_menu.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/m_menu.c b/src/m_menu.c index 0213847d..915643ac 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -5774,7 +5774,16 @@ static void M_PlaybackRewind(INT32 choice) (void)choice; if (!demo.rewinding) - demo.rewinding = paused = true; + { + if (paused) + { + G_ConfirmRewind(leveltime-1); + paused = true; + S_PauseAudio(); + } + else + demo.rewinding = paused = true; + } else G_ConfirmRewind(leveltime); @@ -5792,6 +5801,7 @@ static void M_PlaybackPause(INT32 choice) { G_ConfirmRewind(leveltime); paused = true; + itemOn = playback_resume; S_PauseAudio(); } else if (paused)