Fix a one character bug with clipping

This commit is contained in:
Sryder 2016-12-13 21:18:05 +00:00
parent 39d4f22660
commit 4fb2a18846

View file

@ -5192,7 +5192,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);