mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Various suspicions
This commit is contained in:
parent
2975592a4d
commit
d079783e33
2 changed files with 3 additions and 2 deletions
|
|
@ -298,7 +298,7 @@ void K_UpdatePowerLevels(player_t *player, UINT8 lap, boolean forfeit)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dueling && !forfeit)
|
if (dueling)
|
||||||
{
|
{
|
||||||
INT16 prevInc = inc;
|
INT16 prevInc = inc;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2151,7 +2151,8 @@ static void K_HandleLapIncrement(player_t *player)
|
||||||
player->laptime[LAP_CUR] = 0;
|
player->laptime[LAP_CUR] = 0;
|
||||||
|
|
||||||
// Update power levels for this lap.
|
// Update power levels for this lap.
|
||||||
K_UpdatePowerLevels(player, player->laps, false);
|
if (!K_InRaceDuel) // we do this in K_CheckpointCrossAward instead
|
||||||
|
K_UpdatePowerLevels(player, player->laps, false);
|
||||||
|
|
||||||
K_CheckpointCrossAward(player);
|
K_CheckpointCrossAward(player);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue