Don't call P_ResetCamera when spawning a bot

This commit is contained in:
spherallic 2023-04-14 12:03:21 +02:00
parent 2df3fb53da
commit 930b1355ed

View file

@ -2825,6 +2825,9 @@ void G_MovePlayerToSpawnOrStarpost(INT32 playernum)
R_ResetMobjInterpolationState(players[playernum].mo);
if (players[playernum].bot) // don't reset the camera for bots
return;
if (playernum == consoleplayer)
P_ResetCamera(&players[playernum], &camera);
else if (playernum == secondarydisplayplayer)