- fix sky render

This commit is contained in:
Ilya Shurumov 2020-05-16 21:39:18 +06:00
parent b0d2b3b83c
commit 6f84f216d6

View File

@ -1245,7 +1245,7 @@ void PlotHorizonMDL(MODEL *model, int horizontaboffset)
} while (iVar13 < (int)((uint)model->num_vertices + 3));
}
if (0 < scratchPad_zbuff[10])
if (0 < scratchPad_zbuff[16])
{
pbVar14 = (unsigned char *)model->poly_block;
uVar17 = skyred;