mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-20 16:31:03 +00:00
Don't call P_ResetCamera when spawning a bot
This commit is contained in:
parent
2df3fb53da
commit
930b1355ed
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue