Merge branch 'checkposopti' into Saturn-Testing
This commit is contained in:
commit
a1c965584e
1 file changed
+4
-1
+4
-1
@@ -1721,7 +1721,10 @@ boolean P_CheckPosition(mobj_t *thing, fixed_t x, fixed_t y)
|
||||
tmbbox[BOXRIGHT] = x + tmthing->radius;
|
||||
tmbbox[BOXLEFT] = x - tmthing->radius;
|
||||
|
||||
newsubsec = R_PointInSubsector(x, y);
|
||||
if (thing->x != x || thing->y != y || thing->subsector == NULL)
|
||||
newsubsec = R_PointInSubsector(x, y);
|
||||
else
|
||||
newsubsec = thing->subsector;
|
||||
|
||||
ceilingline = blockingline = NULL;
|
||||
|
||||
|
||||
Reference in new issue
Block a user