From 930b1355ed5634110dfa6895b14d0f510c4a70f6 Mon Sep 17 00:00:00 2001 From: spherallic Date: Fri, 14 Apr 2023 12:03:21 +0200 Subject: [PATCH] Don't call P_ResetCamera when spawning a bot --- src/g_game.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/g_game.c b/src/g_game.c index 8c497a72d..a0ea9ae88 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -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)