lets not do that actually, as a penalty

This commit is contained in:
Ashnal 2025-10-06 18:48:50 -04:00
parent 9e0920f45e
commit 644ead272b

View file

@ -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);