Fix increasing number of viewpoints in replays by more than 1 (like pressing '3' with only one viewpoint) crashing game
This commit is contained in:
1 parent
8b81f4cef2
commit
0ce6cb4cee
1 file changed
+1
@@ -2137,6 +2137,7 @@ void G_ResetView(UINT8 viewnum, INT32 playernum, boolean onlyactive)
|
||||
{
|
||||
for (viewd = splits+1; viewd < viewnum; ++viewd)
|
||||
{
|
||||
displayplayers[viewd-1] = G_FindView(displayplayers[viewd-1], viewd, onlyactive, playernum < olddisplayplayer);
|
||||
G_FixCamera(viewd);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user