mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't eat up first blood in the air
Makes it useful on City Escape. The visual effect ends early in the air, but oh well.
This commit is contained in:
parent
fa69737a33
commit
7f8ac08ea4
1 changed files with 5 additions and 1 deletions
|
|
@ -7267,6 +7267,8 @@ static void K_LookForRings(mobj_t *pmo)
|
|||
*/
|
||||
void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
||||
{
|
||||
const boolean onground = P_IsObjectOnGround(player->mo);
|
||||
|
||||
K_UpdateOffroad(player);
|
||||
K_UpdateDraft(player);
|
||||
K_UpdateEngineSounds(player); // Thanks, VAda!
|
||||
|
|
@ -7538,8 +7540,10 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
if (player->strongdriftboost)
|
||||
player->strongdriftboost--;
|
||||
|
||||
if (player->startboost)
|
||||
if (player->startboost > 0 && onground == true)
|
||||
{
|
||||
player->startboost--;
|
||||
}
|
||||
|
||||
if (player->spindashboost)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue