mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-03 05:32:54 +00:00
M_SoundTestNextPrev: Set cv_soundtest to 0 when returning to the soundtest entry
This commit is contained in:
parent
e5c3b566bf
commit
5a802219ce
2 changed files with 6 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ static void M_SoundTestMainControl(INT32 choice)
|
|||
{
|
||||
soundtest.current = NULL;
|
||||
soundtest.currenttrack = 0;
|
||||
CV_SetValue(&cv_soundtest, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1582,6 +1582,11 @@ updatecurrent:
|
|||
? newdef->numtracks-1
|
||||
: 0;
|
||||
|
||||
if (newdef == NULL)
|
||||
{
|
||||
CV_SetValue(&cv_soundtest, 0);
|
||||
}
|
||||
|
||||
updatetrackonly:
|
||||
if (soundtest.playing == true)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue