mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-23 23:16:15 +00:00
Only apply facing angle Super Ring thrust if on ground
This commit is contained in:
parent
23b4b83c7c
commit
b4204cb02d
1 changed files with 4 additions and 1 deletions
|
|
@ -14971,7 +14971,10 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
if (ATTACK_IS_DOWN && !HOLDING_ITEM && NO_HYUDORO)
|
||||
{
|
||||
S_StartSound(player->mo, sfx_gsha7);
|
||||
P_Thrust(player->mo, K_MomentumAngle(player->mo), 25*player->mo->scale);
|
||||
if (P_IsObjectOnGround(player->mo))
|
||||
{
|
||||
P_Thrust(player->mo, K_MomentumAngle(player->mo), 25*player->mo->scale);
|
||||
}
|
||||
P_Thrust(player->mo, player->mo->angle, 25*player->mo->scale);
|
||||
|
||||
UINT8 numsparks = 8;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue