mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix copypaste error in P_GetMobjGravity
This commit is contained in:
parent
a88d046db4
commit
12717c7a6c
1 changed files with 1 additions and 1 deletions
|
|
@ -1068,7 +1068,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…
Add table
Reference in a new issue