dont reset cam using f12 when only one player is ingame

This commit is contained in:
Alug committed 2025-03-05 11:18:23 +01:00
1 parent 95daa7eacc
commit 06ccb4f7b0
1 file changed
+8 -1
+8 -1
View File
@@ -1726,7 +1726,14 @@ void G_ResetView(UINT8 viewnum, INT32 playernum, boolean onlyactive)
(*displayplayerp) = playernumd;
/* If a viewpoint changes, reset the camera to clear uninitialized memory. */
G_FixCamera(viewd);
if (viewnum > splits)
{
G_FixCamera(viewd);
}
else if ((*displayplayerp) != olddisplayplayer)
{
G_FixCamera(viewnum);
}
}
if (demo.playback && viewnum == 1)