mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
S_SoundTestDefLocked: Account for Sealed Stars-style LF2_FINISHNEEDED completion lock.
This commit is contained in:
parent
8bd3786895
commit
1f82285c39
1 changed files with 6 additions and 0 deletions
|
|
@ -1472,6 +1472,12 @@ static boolean S_SoundTestDefLocked(musicdef_t *def)
|
|||
if (def->sequence.map >= nummapheaders)
|
||||
return false;
|
||||
|
||||
// Is the level tied to SP progression?
|
||||
if ((mapheaderinfo[def->sequence.map]->menuflags & LF2_FINISHNEEDED)
|
||||
&& !(mapheaderinfo[def->sequence.map]->mapvisited & MV_BEATEN))
|
||||
return true;
|
||||
|
||||
// Finally, do a full-fat map check.
|
||||
return M_MapLocked(def->sequence.map+1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue