mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 16:32:36 +00:00
Merge branch 'raretry-fix' into 'next'
Make record attack's quick retry more consistent. Closes #80 See merge request STJr/SRB2!1193
This commit is contained in:
commit
01d940963f
1 changed files with 10 additions and 10 deletions
|
|
@ -4011,23 +4011,23 @@ boolean P_LoadLevel(boolean fromnetsave)
|
|||
wipegamestate = FORCEWIPEOFF;
|
||||
wipestyleflags = 0;
|
||||
|
||||
// Special stage fade to white
|
||||
// Special stage & record attack retry fade to white
|
||||
// This is handled BEFORE sounds are stopped.
|
||||
if (modeattacking && !demoplayback && (pausedelay == INT32_MIN))
|
||||
ranspecialwipe = 2;
|
||||
if (G_GetModeAttackRetryFlag())
|
||||
{
|
||||
if (modeattacking && !demoplayback)
|
||||
{
|
||||
ranspecialwipe = 2;
|
||||
wipestyleflags |= (WSF_FADEOUT|WSF_TOWHITE);
|
||||
}
|
||||
G_ClearModeAttackRetryFlag();
|
||||
}
|
||||
else if (rendermode != render_none && G_IsSpecialStage(gamemap))
|
||||
{
|
||||
P_RunSpecialStageWipe();
|
||||
ranspecialwipe = 1;
|
||||
}
|
||||
|
||||
if (G_GetModeAttackRetryFlag())
|
||||
{
|
||||
if (modeattacking)
|
||||
wipestyleflags |= (WSF_FADEOUT|WSF_TOWHITE);
|
||||
G_ClearModeAttackRetryFlag();
|
||||
}
|
||||
|
||||
// Make sure all sounds are stopped before Z_FreeTags.
|
||||
S_StopSounds();
|
||||
S_ClearSfx();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue