mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-06 03:11:40 +00:00
Formulate the bailout for UC_UNLOCKPERCENT to perfectly prevent any M_CheckNetUnlockID cases from being relevant
This commit is contained in:
parent
53b51d972e
commit
706781bf31
1 changed files with 4 additions and 2 deletions
|
|
@ -1516,8 +1516,10 @@ boolean M_CheckCondition(condition_t *cn, player_t *player)
|
|||
case UC_UNLOCKPERCENT:
|
||||
{
|
||||
// Don't let netgame sessions intefere
|
||||
// (or have this give a performance hit)
|
||||
if (Playing())
|
||||
// or have this give a performance hit
|
||||
// (This is formulated this way to
|
||||
// perfectly eclipse M_CheckNetUnlockByID)
|
||||
if (netgame || demo.playback || Playing())
|
||||
return false;
|
||||
|
||||
UINT16 i, unlocked = cn->extrainfo2, total = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue