mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-13 06:10:50 +00:00
Fix a one character bug with clipping
This commit is contained in:
parent
39d4f22660
commit
4fb2a18846
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue