From 04160f0081d54db0026b07351cb7353f8825bd00 Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Sun, 15 Oct 2017 13:37:05 +0100 Subject: [PATCH] Fixed the smilestails/any other followmobj not spawning at leveltime 0 in a fresh record attack boot! --- src/d_netcmd.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index 0a63a2fc7..59f5ccc7a 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -1890,6 +1890,13 @@ static void Got_Mapcmd(UINT8 **cp, INT32 playernum) if (resetplayer && !FLS) emeralds = 0; + if (modeattacking) + { + SetPlayerSkinByNum(0, cv_chooseskin.value-1); + players[0].skincolor = skins[players[0].skin].prefcolor; + CV_StealthSetValue(&cv_playercolor, players[0].skincolor); + } + #ifdef HAVE_BLUA LUAh_MapChange(); #endif @@ -1901,16 +1908,6 @@ static void Got_Mapcmd(UINT8 **cp, INT32 playernum) if (timingdemo) G_DoneLevelLoad(); - if (modeattacking) - { - SetPlayerSkinByNum(0, cv_chooseskin.value-1); - players[0].skincolor = skins[players[0].skin].prefcolor; - CV_StealthSetValue(&cv_playercolor, players[0].skincolor); - - // a copy of color - if (players[0].mo) - players[0].mo->color = players[0].skincolor; - } if (metalrecording) G_BeginMetal(); if (demorecording) // Okay, level loaded, character spawned and skinned,