this crashes

This commit is contained in:
Alug committed 2024-10-25 02:43:58 +02:00
1 parent 426dd1489a
commit f7bca6f868
1 file changed
+1 -4
+1 -4
View File
@@ -1721,10 +1721,7 @@ boolean P_CheckPosition(mobj_t *thing, fixed_t x, fixed_t y)
tmbbox[BOXRIGHT] = x + tmthing->radius;
tmbbox[BOXLEFT] = x - tmthing->radius;
if (thing->x != x || thing->y != y)
newsubsec = R_PointInSubsector(x, y);
else
newsubsec = thing->subsector;
newsubsec = R_PointInSubsector(x, y);
ceilingline = blockingline = NULL;