Make sliding against objects actually work

This commit is contained in:
GoldenTails 2020-12-21 02:03:44 -06:00
parent 8c97583779
commit 147c38c5ce
1 changed files with 2 additions and 0 deletions

View File

@ -2257,6 +2257,8 @@ boolean P_CheckPosition(mobj_t *thing, fixed_t x, fixed_t y)
{
if (!P_BlockThingsIterator(bx, by, PIT_CheckThing))
blockval = false;
else
tmhitthing = tmfloorthing;
if (P_MobjWasRemoved(tmthing))
return false;
}