always reset cam subsector regardless of splitscreen

This commit is contained in:
Alug committed 2024-09-18 12:11:14 +02:00
1 parent 6fb804292c
commit 14ea041c72
1 file changed
+4
+4
View File
@@ -1997,6 +1997,10 @@ static void CL_ReloadReceivedSavegame(void)
for (i = 0; i <= splitscreen; i++)
{
localangle[i] = (angle_t)(players[displayplayers[i]].cmd.angleturn<<16);
}
for (i = 0; i < MAXSPLITSCREENPLAYERS; i++)
{
camera[i].subsector = R_PointInSubsector(camera[i].x, camera[i].y);
}