mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Top throw forces fastfall
This commit is contained in:
parent
1b19cd6a38
commit
4fc8681e37
1 changed files with 4 additions and 0 deletions
|
|
@ -13273,6 +13273,10 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
P_InstaThrust(player->mo, angle, player->speed + (80 * mapobjectscale));
|
||||
P_SetObjectMomZ(player->mo, player->mo->info->height / 8, true);
|
||||
|
||||
// Limit top spaceflight, whether accidental or on purpose, by forcing a fastfall
|
||||
player->cmd.buttons |= BT_EBRAKEMASK;
|
||||
player->pflags &= ~PF_NOFASTFALL;
|
||||
|
||||
if (top != NULL)
|
||||
{
|
||||
top->momx = player->mo->momx;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue