From ab344a8e99cefcdd97de723c19c2a3f3a37048b5 Mon Sep 17 00:00:00 2001 From: tmyqlfpir <80724828+tmyqlfpir@users.noreply.github.com> Date: Wed, 6 Sep 2023 14:10:14 +1000 Subject: [PATCH] Fix inaccuracy introduced in commit 1efe584afcbb682550bbeab5b1caae469999994e (#753) fragInfo is used to store player kills by current player --- source/blood/src/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blood/src/player.cpp b/source/blood/src/player.cpp index 554ce14fc8..3ecf29e66f 100644 --- a/source/blood/src/player.cpp +++ b/source/blood/src/player.cpp @@ -1946,7 +1946,7 @@ void playerFrag(PLAYER *pKiller, PLAYER *pVictim) if (VanillaMode() || gGameOptions.nGameType != kGameTypeCoop) { pKiller->fragCount++; - pKiller->fragInfo[nKiller]++; + pKiller->fragInfo[nVictim]++; } if (gGameOptions.nGameType == kGameTypeTeams) {