mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fix-pwr-increment' into 'master'
Reset PWR increment after each round See merge request KartKrew/Kart!1236
This commit is contained in:
commit
333fdee801
1 changed files with 3 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ void K_UpdatePowerLevels(player_t *player, UINT8 lap, boolean forfeit)
|
|||
|
||||
if (inc == 0)
|
||||
{
|
||||
CONS_Printf("Total Result: No increment, no change.\n");
|
||||
// CONS_Printf("Total Result: No increment, no change.\n");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
@ -430,6 +430,8 @@ void K_CashInPowerLevels(void)
|
|||
|
||||
//CONS_Printf("%s: %d -> %d (%d)\n", player_names[i], clientpowerlevels[i][powerType] - inc, clientpowerlevels[i][powerType], inc);
|
||||
}
|
||||
|
||||
clientPowerAdd[i] = 0;
|
||||
}
|
||||
|
||||
SV_UpdateStats();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue