mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
G_DoLoadLevelEx: Don't fake profile set when transitioning to titlemap
Fixes Profile not being selectable on game boot, solving Charyb's recent issue
This commit is contained in:
parent
3f15fca32e
commit
2a1b2d427c
1 changed files with 3 additions and 1 deletions
|
|
@ -1078,7 +1078,9 @@ void G_DoLoadLevelEx(boolean resetplayer, gamestate_t newstate)
|
||||||
if (wipegamestate == newstate)
|
if (wipegamestate == newstate)
|
||||||
wipegamestate = -1; // force a wipe
|
wipegamestate = -1; // force a wipe
|
||||||
|
|
||||||
if (cv_currprofile.value == -1 && !demo.playback)
|
if (newstate != GS_TITLESCREEN
|
||||||
|
&& cv_currprofile.value == -1
|
||||||
|
&& !demo.playback)
|
||||||
{
|
{
|
||||||
PR_ApplyProfilePretend(cv_ttlprofilen.value, 0);
|
PR_ApplyProfilePretend(cv_ttlprofilen.value, 0);
|
||||||
for (i = 1; i < cv_splitplayers.value; i++)
|
for (i = 1; i < cv_splitplayers.value; i++)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue