mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-29 03:02:38 +00:00
Higher bubble bounce
This commit is contained in:
parent
f3f0ce7351
commit
cfa20179b0
1 changed files with 4 additions and 3 deletions
|
|
@ -10605,19 +10605,20 @@ boolean K_FastFallBounce(player_t *player)
|
|||
}
|
||||
}
|
||||
|
||||
if (player->mo->eflags & MFE_UNDERWATER)
|
||||
bounce = (117 * bounce) / 200;
|
||||
|
||||
if (player->curshield == KSHIELD_BUBBLE)
|
||||
{
|
||||
S_StartSound(player->mo, sfx_s3k44);
|
||||
P_InstaThrust(player->mo, player->mo->angle, max(player->speed, abs(player->fastfall)));
|
||||
bounce += 3 * player->mo->scale;
|
||||
}
|
||||
else
|
||||
{
|
||||
S_StartSound(player->mo, sfx_ffbonc);
|
||||
}
|
||||
|
||||
if (player->mo->eflags & MFE_UNDERWATER)
|
||||
bounce = (117 * bounce) / 200;
|
||||
|
||||
player->mo->momz = bounce * P_MobjFlip(player->mo);
|
||||
|
||||
player->fastfall = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue