diff --git a/src/g_game.cpp b/src/g_game.cpp index 9020f2da1..95b0f587d 100644 --- a/src/g_game.cpp +++ b/src/g_game.cpp @@ -1635,12 +1635,6 @@ void G_DoReborn (int playernum, bool freshbot) } else { - // Old lerp data needs to go - if (playernum == consoleplayer) - { - P_PredictionLerpReset(); - } - // respawn at the start // first disassociate the corpse if (players[playernum].mo) diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index d035e0117..1d97311eb 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -4246,6 +4246,12 @@ APlayerPawn *P_SpawnPlayer (FPlayerStart *mthing, int playernum, int flags) if ((unsigned)playernum >= (unsigned)MAXPLAYERS || !playeringame[playernum]) return NULL; + // Old lerp data needs to go + if (playernum == consoleplayer) + { + P_PredictionLerpReset(); + } + p = &players[playernum]; if (p->cls == NULL)