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
|
@ -2257,6 +2257,8 @@ boolean P_CheckPosition(mobj_t *thing, fixed_t x, fixed_t y)
|
||||||
{
|
{
|
||||||
if (!P_BlockThingsIterator(bx, by, PIT_CheckThing))
|
if (!P_BlockThingsIterator(bx, by, PIT_CheckThing))
|
||||||
blockval = false;
|
blockval = false;
|
||||||
|
else
|
||||||
|
tmhitthing = tmfloorthing;
|
||||||
if (P_MobjWasRemoved(tmthing))
|
if (P_MobjWasRemoved(tmthing))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue