Fix a one character bug with clipping

This commit is contained in:
Sryder 2016-12-13 21:18:05 +00:00 committed by Monster Iestyn
parent 3f0f645c70
commit ec0f30f849

View file

@ -5215,7 +5215,7 @@ static void HWR_ProjectSprite(mobj_t *thing)
z2 = z1 + offset * ang_scalez;
tx += offset * ang_scale;
}
if (papersprite && max(z1, z1) < ZCLIP_PLANE)
if (papersprite && max(z1, z2) < ZCLIP_PLANE)
return;
x2 = gr_windowcenterx + (tx * gr_centerx / tz);