mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-04-03 17:01:19 +00:00
reset camera.subsector for MAXSPLITSCREENPLAYERS
This commit is contained in:
parent
e391967fc6
commit
de1c2cee0d
1 changed files with 5 additions and 2 deletions
|
@ -1359,10 +1359,13 @@ static void CL_ReloadReceivedSavegame(void)
|
|||
neededtic = gametic;
|
||||
maketic = neededtic;
|
||||
|
||||
// we dont have P_ForceLocalAngle so were setting it manually here
|
||||
for (i = 0; i <= splitscreen; i++)
|
||||
{
|
||||
localangle[i] = (angle_t)(players[displayplayers[i]].cmd.angleturn<<16);
|
||||
localangle[i] = (angle_t)(players[displayplayers[i]].cmd.angleturn << 16); //P_ForceLocalAngle(&players[displayplayers[i]], players[displayplayers[i]].angleturn << 16);
|
||||
}
|
||||
|
||||
for (i = 0; i < MAXSPLITSCREENPLAYERS; i++)
|
||||
{
|
||||
camera[i].subsector = R_PointInSubsector(camera[i].x, camera[i].y);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue