Fix operand ordering for team kills
Fixes: 4a0a2b7da5
("Use team_kills in team games")
This commit is contained in:
parent
9da2a938d8
commit
75104b80f0
|
@ -815,8 +815,8 @@ static void multi_compute_kill(const objptridx_t killer, const vobjptridx_t kill
|
||||||
{
|
{
|
||||||
const auto TheGoal = Netgame.KillGoal * 5;
|
const auto TheGoal = Netgame.KillGoal * 5;
|
||||||
if (((Game_mode & GM_TEAM)
|
if (((Game_mode & GM_TEAM)
|
||||||
? Players[killer_pnum].KillGoalCount
|
? team_kills[get_team(killer_pnum)]
|
||||||
: team_kills[get_team(killer_pnum)]
|
: Players[killer_pnum].KillGoalCount
|
||||||
) >= TheGoal)
|
) >= TheGoal)
|
||||||
{
|
{
|
||||||
if (killer_pnum==Player_num)
|
if (killer_pnum==Player_num)
|
||||||
|
|
Loading…
Reference in a new issue