mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +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]));
|
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
|
// 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 numgradingpoints = K_GetNumGradingPoints();
|
||||||
const UINT32 remaininggradingpoints = numgradingpoints - player->gradingpointnum;
|
// const UINT32 remaininggradingpoints = numgradingpoints - player->gradingpointnum;
|
||||||
for (UINT32 i = 0; i < remaininggradingpoints; i++)
|
// for (UINT32 i = 0; i < remaininggradingpoints; i++)
|
||||||
{
|
// {
|
||||||
player->gradingfactor += K_GetGradingFactorAdjustment(player, player->gradingpointnum);
|
// player->gradingfactor += K_GetGradingFactorAdjustment(player, player->gradingpointnum);
|
||||||
player->gradingpointnum++;
|
// player->gradingpointnum++;
|
||||||
player->exp = K_GetEXP(player);
|
// player->exp = K_GetEXP(player);
|
||||||
}
|
// }
|
||||||
|
|
||||||
player->pflags |= PF_NOCONTEST;
|
player->pflags |= PF_NOCONTEST;
|
||||||
K_UpdatePowerLevelsFinalize(player, false);
|
K_UpdatePowerLevelsFinalize(player, false);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue