Duplicate code from merge that was writing out of range for 4p splitscreen

This commit is contained in:
Sryder 2021-04-04 16:48:48 +01:00
parent 216d282484
commit 4a099fd98d

View file

@ -1027,15 +1027,6 @@ void R_ExecuteSetViewSize(void)
// planes
if (rendermode == render_soft)
{
// this is only used for planes rendering in software mode
j = viewheight*16;
for (i = 0; i < j; i++)
{
dy = ((i - viewheight*8)<<FRACBITS) + FRACUNIT/2;
dy = FixedMul(abs(dy), fovtan[s]);
yslopetab[s][i] = FixedDiv(centerx*FRACUNIT, dy);
}
if (ds_su)
Z_Free(ds_su);
if (ds_sv)