mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Fix being able to carry rewind state where it shouldn't be
This commit is contained in:
parent
65e272f892
commit
1ba5412bfe
2 changed files with 10 additions and 1 deletions
|
|
@ -1956,7 +1956,14 @@ boolean G_Responder(event_t *ev)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
paused = !paused;
|
paused = !paused;
|
||||||
if (paused)
|
|
||||||
|
if (demo.rewinding)
|
||||||
|
{
|
||||||
|
G_ConfirmRewind(leveltime);
|
||||||
|
paused = true;
|
||||||
|
S_PauseAudio();
|
||||||
|
}
|
||||||
|
else if (paused)
|
||||||
S_PauseAudio();
|
S_PauseAudio();
|
||||||
else
|
else
|
||||||
S_ResumeAudio();
|
S_ResumeAudio();
|
||||||
|
|
|
||||||
|
|
@ -5184,6 +5184,8 @@ void M_ReplayHut(INT32 choice)
|
||||||
M_SetupNextMenu(&MISC_ReplayHutDef);
|
M_SetupNextMenu(&MISC_ReplayHutDef);
|
||||||
G_SetGamestate(GS_TIMEATTACK);
|
G_SetGamestate(GS_TIMEATTACK);
|
||||||
|
|
||||||
|
demo.rewinding = false;
|
||||||
|
|
||||||
S_ChangeMusicInternal("replst", true);
|
S_ChangeMusicInternal("replst", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue