...didn't realise P_InsideANonSolidFFloor checks for FF_EXISTS itself, so HM

This commit is contained in:
toasterbabe 2016-08-28 14:06:20 +01:00
parent c0f5f22b6a
commit 25ab977862

View file

@ -1278,7 +1278,7 @@ fixed_t P_GetMobjGravity(mobj_t *mo)
for (rover = mo->subsector->sector->ffloors; rover; rover = rover->next)
{
if (!(rover->flags & FF_EXISTS) || !P_InsideANonSolidFFloor(mo, rover))
if (!P_InsideANonSolidFFloor(mo, rover)) // P_InsideANonSolidFFloor checks for FF_EXISTS itself
continue;
if ((rover->flags & (FF_SWIMMABLE|FF_GOOWATER)) == (FF_SWIMMABLE|FF_GOOWATER))