dont reset cam using f12 when only one player is ingame
This commit is contained in:
1 parent
95daa7eacc
commit
06ccb4f7b0
1 file changed
+8
-1
+8
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user