Fix bottom of FOF with a pusher special not accounting for slopes

This commit is contained in:
Monster Iestyn 2016-09-08 22:55:11 +01:00
parent b949f49c68
commit 9f87841936

View file

@ -7428,7 +7428,7 @@ void T_Pusher(pusher_t *p)
}
else
{
if (top < thing->z || referrer->floorheight > (thing->z + (thing->height >> 1)))
if (top < thing->z || bottom > (thing->z + (thing->height >> 1)))
continue;
if (thing->z + thing->height > top)
touching = true;