properly reset all splitscreen cameras on resynch
also fix some casting
This commit is contained in:
1 parent
d867868854
commit
8580451bce
1 file changed
+3
-4
+3
-4
@@ -1993,14 +1993,13 @@ static void CL_ReloadReceivedSavegame(void)
|
||||
neededtic = gametic;
|
||||
maketic = neededtic;
|
||||
|
||||
// set camera angle to somewhat match where your player is turning
|
||||
// we dont have P_ForceLocalAngle so were setting it manually here
|
||||
for (i = 0; i <= splitscreen; i++)
|
||||
{
|
||||
localangle[i] = players[displayplayers[i]].cmd.angleturn<<16;
|
||||
localangle[i] = (angle_t)(players[displayplayers[i]].cmd.angleturn<<16);
|
||||
camera[i].subsector = R_PointInSubsector(camera[i].x, camera[i].y);
|
||||
}
|
||||
|
||||
camera->subsector = R_PointInSubsector(camera->x, camera->y);
|
||||
|
||||
cl_redownloadinggamestate = false;
|
||||
|
||||
CONS_Printf(M_GetText("Game state reloaded\n"));
|
||||
|
||||
Reference in new issue
Block a user