Skip to content

Commit

Permalink
Fix inaccuracy introduced in commit 1efe584 (#753)
Browse files Browse the repository at this point in the history
fragInfo is used to store player kills by current player
  • Loading branch information
tmyqlfpir authored Sep 6, 2023
1 parent e1fc178 commit ab344a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/blood/src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit ab344a8

Please sign in to comment.