mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-25 23:11:20 +00:00
Support antigrav
This commit is contained in:
parent
393c637954
commit
b51f206c1c
1 changed files with 1 additions and 1 deletions
|
|
@ -1250,7 +1250,7 @@ fixed_t P_GetMobjGravity(mobj_t *mo)
|
|||
// Less gravity underwater.
|
||||
if ((mo->eflags & MFE_UNDERWATER) && !goopgravity)
|
||||
{
|
||||
if (mo->momz <= 0)
|
||||
if (mo->momz * P_MobjFlip(mo) <= 0)
|
||||
{
|
||||
gravityadd = 4*gravityadd/3;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue