mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
No longer necessary to call M_CheckUnlockConditions twice in M_UpdateUnlockablesAndExtraEmblems
This commit is contained in:
parent
e7c79ab461
commit
d554856d04
1 changed files with 3 additions and 6 deletions
|
|
@ -565,19 +565,16 @@ boolean M_UpdateUnlockablesAndExtraEmblems(boolean loud)
|
|||
char cechoText[992] = "";
|
||||
UINT8 cechoLines = 0;
|
||||
|
||||
M_CheckUnlockConditions();
|
||||
|
||||
if (!loud)
|
||||
{
|
||||
// Just in case they aren't to sync
|
||||
// Done first so that emblems are ready before check
|
||||
M_CheckLevelEmblems();
|
||||
M_CompletionEmblems();
|
||||
|
||||
// Fun part: if any of those unlocked we need to go through the
|
||||
// unlock conditions AGAIN just in case an emblem reward was reached
|
||||
M_CheckUnlockConditions();
|
||||
}
|
||||
|
||||
M_CheckUnlockConditions();
|
||||
|
||||
// Go through unlockables
|
||||
for (i = 0; i < MAXUNLOCKABLES; ++i)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue