mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
M_EraseDataResponse: Don't softlock the Stereo on if you're likely no longer able to access it
This commit is contained in:
parent
2e687b4033
commit
a85af6339d
2 changed files with 8 additions and 0 deletions
|
|
@ -3003,6 +3003,10 @@ void readmaincfg(MYFILE *f, boolean mainfile)
|
||||||
G_ClearRecords();
|
G_ClearRecords();
|
||||||
M_ClearStats();
|
M_ClearStats();
|
||||||
M_ClearSecrets();
|
M_ClearSecrets();
|
||||||
|
|
||||||
|
// Don't softlock the Stereo on if you won't be able to access it anymore!?
|
||||||
|
if (soundtest.playing && M_SecretUnlocked(SECRET_SOUNDTEST, true) == false)
|
||||||
|
S_SoundTestStop();
|
||||||
}
|
}
|
||||||
#ifndef DEVELOP
|
#ifndef DEVELOP
|
||||||
else if (!mainfile && !gamedataadded)
|
else if (!mainfile && !gamedataadded)
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,10 @@ static void M_EraseDataResponse(INT32 ch)
|
||||||
|
|
||||||
M_UpdateUnlockablesAndExtraEmblems(false, true);
|
M_UpdateUnlockablesAndExtraEmblems(false, true);
|
||||||
|
|
||||||
|
// Don't softlock the Stereo on if you won't be able to access it anymore!?
|
||||||
|
if (soundtest.playing && M_SecretUnlocked(SECRET_SOUNDTEST, true) == false)
|
||||||
|
S_SoundTestStop();
|
||||||
|
|
||||||
F_StartIntro();
|
F_StartIntro();
|
||||||
M_ClearMenus(true);
|
M_ClearMenus(true);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue