mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Fix all NiGHTS demo desyncs! (More specifically: compare with d_netcmd.c's order of operations - it's skin change, then g_initnew, then demo start, NOT g_initnew then skin change then demo start!!!!!
This commit is contained in:
parent
548c120534
commit
3994697fbd
1 changed files with 3 additions and 3 deletions
|
|
@ -5496,6 +5496,9 @@ void G_DoPlayDemo(char *defdemoname)
|
||||||
// didn't start recording right away.
|
// didn't start recording right away.
|
||||||
demo_start = false;
|
demo_start = false;
|
||||||
|
|
||||||
|
// Set skin
|
||||||
|
SetPlayerSkin(0, skin);
|
||||||
|
|
||||||
#ifdef HAVE_BLUA
|
#ifdef HAVE_BLUA
|
||||||
LUAh_MapChange();
|
LUAh_MapChange();
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -5505,9 +5508,6 @@ void G_DoPlayDemo(char *defdemoname)
|
||||||
P_SetRandSeed(randseed);
|
P_SetRandSeed(randseed);
|
||||||
G_InitNew(false, G_BuildMapName(gamemap), true, true, false);
|
G_InitNew(false, G_BuildMapName(gamemap), true, true, false);
|
||||||
|
|
||||||
// Set skin
|
|
||||||
SetPlayerSkin(0, skin);
|
|
||||||
|
|
||||||
// Set color
|
// Set color
|
||||||
for (i = 0; i < MAXSKINCOLORS; i++)
|
for (i = 0; i < MAXSKINCOLORS; i++)
|
||||||
if (!stricmp(Color_Names[i],color))
|
if (!stricmp(Color_Names[i],color))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue