mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 02:42:20 +00:00
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:
commit
29b6bd5df9
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue