mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 12:50:44 +00:00
Fix being able to carry rewind state where it shouldn't be
This commit is contained in:
parent
5fcafb643b
commit
eb9c9885a9
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…
Reference in a new issue