Fix copypaste error in P_GetMobjGravity

This commit is contained in:
MascaraSnake 2022-06-04 17:46:00 +02:00
parent 6829e4ae62
commit c9536ff4dc

View file

@ -1456,7 +1456,7 @@ fixed_t P_GetMobjGravity(mobj_t *mo)
if ((rover->flags & (FF_SWIMMABLE|FF_GOOWATER)) == (FF_SWIMMABLE|FF_GOOWATER))
goopgravity = true;
gravfactor = P_GetSectorGravityFactor(mo->subsector->sector);
gravfactor = P_GetSectorGravityFactor(rover->master->frontsector);
if (gravfactor == FRACUNIT)
continue;