mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-24 08:52:33 +00:00
lets not do that actually, as a penalty
This commit is contained in:
parent
9e0920f45e
commit
644ead272b
1 changed files with 10 additions and 8 deletions
18
src/p_user.c
18
src/p_user.c
|
|
@ -3988,15 +3988,17 @@ void P_DoTimeOver(player_t *player)
|
|||
CON_LogMessage(va(M_GetText("%s ran out of time.\n"), player_names[player-players]));
|
||||
}
|
||||
|
||||
// actually, lets not do the below, because its a suitable penalty to not be granted the increase from remaining gradingpoints
|
||||
|
||||
// iterate through remaining gradingpoints and update gradingfactor and exp for current position, as if you crossed all of them
|
||||
const UINT32 numgradingpoints = K_GetNumGradingPoints();
|
||||
const UINT32 remaininggradingpoints = numgradingpoints - player->gradingpointnum;
|
||||
for (UINT32 i = 0; i < remaininggradingpoints; i++)
|
||||
{
|
||||
player->gradingfactor += K_GetGradingFactorAdjustment(player, player->gradingpointnum);
|
||||
player->gradingpointnum++;
|
||||
player->exp = K_GetEXP(player);
|
||||
}
|
||||
// const UINT32 numgradingpoints = K_GetNumGradingPoints();
|
||||
// const UINT32 remaininggradingpoints = numgradingpoints - player->gradingpointnum;
|
||||
// for (UINT32 i = 0; i < remaininggradingpoints; i++)
|
||||
// {
|
||||
// player->gradingfactor += K_GetGradingFactorAdjustment(player, player->gradingpointnum);
|
||||
// player->gradingpointnum++;
|
||||
// player->exp = K_GetEXP(player);
|
||||
// }
|
||||
|
||||
player->pflags |= PF_NOCONTEST;
|
||||
K_UpdatePowerLevelsFinalize(player, false);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue