Restore old spinout behaviour
This commit is contained in:
parent
dab9108db0
commit
e3d888b08d
2 changed files with 3 additions and 3 deletions
|
|
@ -2162,7 +2162,8 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
|||
}
|
||||
}
|
||||
|
||||
player->sneakertimer = 0;
|
||||
if (!(type == DMG_NORMAL || type == DMG_WIPEOUT))
|
||||
player->sneakertimer = 0;
|
||||
player->driftboost = 0;
|
||||
player->ringboost = 0;
|
||||
player->glanceDir = 0;
|
||||
|
|
|
|||
|
|
@ -1902,8 +1902,7 @@ void P_XYMovement(mobj_t *mo)
|
|||
if (mo->type == MT_FLINGRING || mo->type == MT_BALLHOG || mo->type == MT_BUBBLESHIELDTRAP)
|
||||
return;
|
||||
|
||||
if (player && (player->spinouttimer && !player->wipeoutslow)
|
||||
&& player->speed <= FixedDiv(20*mapobjectscale, player->offroad + FRACUNIT))
|
||||
if (mo->player && (mo->player->spinouttimer && !mo->player->wipeoutslow) && mo->player->speed <= K_GetKartSpeed(mo->player, false, true)/2)
|
||||
return;
|
||||
//}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue