Make sliding against objects actually work
This commit is contained in:
parent
8c97583779
commit
147c38c5ce
|
@ -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