mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Suggested improvement by MI on irc.
This commit is contained in:
parent
50ce152c69
commit
c0f5f22b6a
1 changed files with 1 additions and 1 deletions
|
@ -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 (!(rover->flags & FF_EXISTS) || !P_InsideANonSolidFFloor(mo, rover))
|
||||
continue;
|
||||
|
||||
if ((rover->flags & (FF_SWIMMABLE|FF_GOOWATER)) == (FF_SWIMMABLE|FF_GOOWATER))
|
||||
|
|
Loading…
Reference in a new issue