mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-12 04:41:17 +00:00
Overlooked some old whitespace
This commit is contained in:
parent
8b122e63d4
commit
ce8af32c2a
1 changed files with 2 additions and 3 deletions
|
@ -2117,7 +2117,6 @@ void K_SpinPlayer(player_t *player, mobj_t *source, INT32 type, mobj_t *inflicto
|
||||||
if (player->kartstuff[k_spinouttype] <= 0) // type 0 is spinout, type 1 is wipeout
|
if (player->kartstuff[k_spinouttype] <= 0) // type 0 is spinout, type 1 is wipeout
|
||||||
{
|
{
|
||||||
// At spinout, player speed is increased to 1/4 their regular speed, moving them forward
|
// At spinout, player speed is increased to 1/4 their regular speed, moving them forward
|
||||||
|
|
||||||
if (player->speed < K_GetKartSpeed(player, true)/4)
|
if (player->speed < K_GetKartSpeed(player, true)/4)
|
||||||
P_InstaThrust(player->mo, player->mo->angle, FixedMul(K_GetKartSpeed(player, true)/4, player->mo->scale));
|
P_InstaThrust(player->mo, player->mo->angle, FixedMul(K_GetKartSpeed(player, true)/4, player->mo->scale));
|
||||||
S_StartSound(player->mo, sfx_slip);
|
S_StartSound(player->mo, sfx_slip);
|
||||||
|
@ -5821,11 +5820,11 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
||||||
if (player->kartstuff[k_wipeoutslow] == 1)
|
if (player->kartstuff[k_wipeoutslow] == 1)
|
||||||
player->mo->friction -= 9824;
|
player->mo->friction -= 9824;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Band-aid to make sure we never get any weird shit (tm) happening on us.
|
// Band-aid to make sure we never get any weird shit (tm) happening on us.
|
||||||
if (player->mo->friction < 0)
|
if (player->mo->friction < 0)
|
||||||
player->mo->friction = 0;
|
player->mo->friction = 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
K_KartDrift(player, onground);
|
K_KartDrift(player, onground);
|
||||||
|
|
Loading…
Reference in a new issue