Fix views not setting properly when adding multiple at once

This commit is contained in:
fickleheart 2019-02-06 20:25:27 -06:00
parent f10237ea3d
commit 61bb44463f

View file

@ -2166,14 +2166,14 @@ G_ResetView (UINT8 viewnum)
camerap = (P_GetCameraPtr(viewd));
P_ResetCamera(&players[(*displayplayerp)], camerap);
R_ExecuteSetViewSize();
if (++viewd > viewnum)
break;
/* Correct up to but viewnum */
(*displayplayerp) = G_FindView((*displayplayerp));
(*displayplayerp) = G_FindView(displayplayer);
}
R_ExecuteSetViewSize();
}
if (viewnum == 1 && demoplayback)