P_CheckRaceGriefing: Fix typo that rendered antigrief ineffective

This commit is contained in:
toaster 2023-04-30 13:36:15 +01:00
parent d09cfe6704
commit ee3bf6d117

View file

@ -4629,7 +4629,7 @@ void P_CheckRaceGriefing(player_t *player, boolean dopunishment)
player->griefValue--;
}
if (dopunishment && player->griefValue > griefMax)
if (dopunishment && player->griefValue >= griefMax)
{
if (player->griefStrikes < 3)
{