mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Mirror a wipe if it's forced off and the counter-wipe is specified
This commit is contained in:
parent
d95ccd371c
commit
e3a8c70a94
1 changed files with 8 additions and 0 deletions
|
|
@ -2675,6 +2675,14 @@ static void M_HandleMenuMetaState(menu_t *newMenu)
|
|||
wipetypepre = ((exitwipe && enterlevel <= exitlevel) || anceslevel < 0) ? exitwipe : INT16_MAX;
|
||||
wipetypepost = ((enterwipe && enterlevel >= exitlevel) || anceslevel < 0) ? enterwipe : INT16_MAX;
|
||||
wipegamestate = FORCEWIPE;
|
||||
|
||||
// If just one of the above is a force not-wipe,
|
||||
// mirror the other wipe.
|
||||
if (wipetypepre != INT16_MAX && wipetypepost == INT16_MAX)
|
||||
wipetypepost = wipetypepre;
|
||||
else if (wipetypepost != INT16_MAX && wipetypepre == INT16_MAX)
|
||||
wipetypepre = wipetypepost;
|
||||
|
||||
// D_Display runs the next step of processing
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue