mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-27 16:56:06 +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;
|
||||
if (paused)
|
||||
|
||||
if (demo.rewinding)
|
||||
{
|
||||
G_ConfirmRewind(leveltime);
|
||||
paused = true;
|
||||
S_PauseAudio();
|
||||
}
|
||||
else if (paused)
|
||||
S_PauseAudio();
|
||||
else
|
||||
S_ResumeAudio();
|
||||
|
|
|
|||
|
|
@ -5184,6 +5184,8 @@ void M_ReplayHut(INT32 choice)
|
|||
M_SetupNextMenu(&MISC_ReplayHutDef);
|
||||
G_SetGamestate(GS_TIMEATTACK);
|
||||
|
||||
demo.rewinding = false;
|
||||
|
||||
S_ChangeMusicInternal("replst", true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue