mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Fix copypaste error in P_GetMobjGravity
This commit is contained in:
parent
6829e4ae62
commit
c9536ff4dc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue