Merge branch 'fix-mobj-slidemove' into 'next'

Make sliding against objects actually work (Fixes #400)

Closes #400

See merge request STJr/SRB2!1348
This commit is contained in:
James R 2021-01-26 20:43:17 -05:00
commit 29b6bd5df9
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;
}