Skip to content

Commit

Permalink
Bugfix with kill list
Browse files Browse the repository at this point in the history
  • Loading branch information
necropotame committed Nov 14, 2016
1 parent 48adf42 commit 67b282d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/server/gamecontext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ void CGameContext::OnTick()
int NbTargets = 0;
for(int i=0; i<MAX_CLIENTS; i++)
{
if(m_apPlayers[i] && m_apPlayers[i]->IsInfected())
if(m_apPlayers[i] && m_apPlayers[i]->IsInfected() && m_apPlayers[i]->GetClass() != PLAYERCLASS_UNDEAD)
{
m_aTargetList[NbTargets] = i;
NbTargets++;
Expand Down

0 comments on commit 67b282d

Please sign in to comment.