mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-01 07:11:02 +00:00
Fix views not setting properly when adding multiple at once
This commit is contained in:
parent
f10237ea3d
commit
61bb44463f
1 changed files with 2 additions and 2 deletions
|
@ -2166,14 +2166,14 @@ G_ResetView (UINT8 viewnum)
|
||||||
camerap = (P_GetCameraPtr(viewd));
|
camerap = (P_GetCameraPtr(viewd));
|
||||||
|
|
||||||
P_ResetCamera(&players[(*displayplayerp)], camerap);
|
P_ResetCamera(&players[(*displayplayerp)], camerap);
|
||||||
R_ExecuteSetViewSize();
|
|
||||||
|
|
||||||
if (++viewd > viewnum)
|
if (++viewd > viewnum)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* Correct up to but viewnum */
|
/* Correct up to but viewnum */
|
||||||
(*displayplayerp) = G_FindView((*displayplayerp));
|
(*displayplayerp) = G_FindView(displayplayer);
|
||||||
}
|
}
|
||||||
|
R_ExecuteSetViewSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (viewnum == 1 && demoplayback)
|
if (viewnum == 1 && demoplayback)
|
||||||
|
|
Loading…
Reference in a new issue