mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 13:51:31 +00:00
Allow backwards frame advance while paused
This commit is contained in:
parent
6267986c72
commit
1f2adee119
1 changed files with 11 additions and 1 deletions
12
src/m_menu.c
12
src/m_menu.c
|
@ -5774,7 +5774,16 @@ static void M_PlaybackRewind(INT32 choice)
|
||||||
(void)choice;
|
(void)choice;
|
||||||
|
|
||||||
if (!demo.rewinding)
|
if (!demo.rewinding)
|
||||||
demo.rewinding = paused = true;
|
{
|
||||||
|
if (paused)
|
||||||
|
{
|
||||||
|
G_ConfirmRewind(leveltime-1);
|
||||||
|
paused = true;
|
||||||
|
S_PauseAudio();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
demo.rewinding = paused = true;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
G_ConfirmRewind(leveltime);
|
G_ConfirmRewind(leveltime);
|
||||||
|
|
||||||
|
@ -5792,6 +5801,7 @@ static void M_PlaybackPause(INT32 choice)
|
||||||
{
|
{
|
||||||
G_ConfirmRewind(leveltime);
|
G_ConfirmRewind(leveltime);
|
||||||
paused = true;
|
paused = true;
|
||||||
|
itemOn = playback_resume;
|
||||||
S_PauseAudio();
|
S_PauseAudio();
|
||||||
}
|
}
|
||||||
else if (paused)
|
else if (paused)
|
||||||
|
|
Loading…
Reference in a new issue