mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 02:00:11 +00:00
G_DoLoadLevel: do not apply profile if demo is played from titlescreen
This commit is contained in:
parent
ac2255572a
commit
e874b5ba18
2 changed files with 2 additions and 2 deletions
|
|
@ -2066,7 +2066,7 @@ static void CL_ConnectToServer(void)
|
|||
CONS_Printf(M_GetText("Contacting the server...\n"));
|
||||
}
|
||||
|
||||
if (cv_currprofile.value == -1)
|
||||
if (cv_currprofile.value == -1 && !demo.playback)
|
||||
{
|
||||
PR_ApplyProfilePretend(cv_ttlprofilen.value, 0);
|
||||
for (i = 1; i < cv_splitplayers.value; i++)
|
||||
|
|
|
|||
|
|
@ -1351,7 +1351,7 @@ void G_DoLoadLevel(boolean resetplayer)
|
|||
if (wipegamestate == GS_LEVEL)
|
||||
wipegamestate = -1; // force a wipe
|
||||
|
||||
if (cv_currprofile.value == -1)
|
||||
if (cv_currprofile.value == -1 && !demo.playback)
|
||||
{
|
||||
PR_ApplyProfilePretend(cv_ttlprofilen.value, 0);
|
||||
for (i = 1; i < cv_splitplayers.value; i++)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue