make gravityscale be base when carried by dashring
not entirely sure if this works
This commit is contained in:
parent
c85c020ba4
commit
8e4fa6fbde
1 changed files with 6 additions and 2 deletions
|
|
@ -1182,9 +1182,13 @@ fixed_t P_GetMobjGravity(mobj_t *mo)
|
|||
gravityadd = (5*gravityadd)/2;
|
||||
}
|
||||
|
||||
if (mo->player->carry == CR_DASHRING && Obj_DashRingPlayerHasNoGravity(mo->player))
|
||||
if (mo->player->carry == CR_DASHRING)
|
||||
{
|
||||
gravityadd = 0;
|
||||
if (Obj_DashRingPlayerHasNoGravity(mo->player))
|
||||
{
|
||||
gravityadd = 0;
|
||||
}
|
||||
gravitymul = mapobjectscale;
|
||||
}
|
||||
|
||||
if (K_IsAltShrunk(mo->player))
|
||||
|
|
|
|||
Loading…
Reference in a new issue