mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 11:21:11 +00:00
Merge branch 'nobotcamerareset' into 'next'
Don't call P_ResetCamera when spawning a bot Closes #971 See merge request STJr/SRB2!1966
This commit is contained in:
commit
57b0dfcfac
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