From 477eb000e53cd0ab7a2272e7b17113f68e0db132 Mon Sep 17 00:00:00 2001 From: toaster Date: Mon, 17 Apr 2023 20:00:34 +0100 Subject: [PATCH] Do not subtract grief strikes for finishing a race normally Prevents scenarios where someone engages in alternating sporting and unsporting behaviour and never experiences lasting consequences --- src/p_user.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/p_user.c b/src/p_user.c index dad11f891..13c1f6736 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -1267,12 +1267,6 @@ void P_DoPlayerExit(player_t *player) return; } - if (player->griefStrikes > 0) - { - // Remove a strike for finishing a race normally - player->griefStrikes--; - } - if (P_IsLocalPlayer(player) && (!player->spectator && !demo.playback)) { legitimateexit = true; @@ -3798,12 +3792,6 @@ void P_DoTimeOver(player_t *player) return; } - if (player->griefStrikes > 0) - { - // Remove a strike for finishing a race normally - player->griefStrikes--; - } - if (P_IsLocalPlayer(player) && !demo.playback) { legitimateexit = true; // SRB2kart: losing a race is still seeing it through to the end :p