From 67b282dedce7375cd60f5ee5c322e8377082aed0 Mon Sep 17 00:00:00 2001 From: necropotame Date: Mon, 14 Nov 2016 14:36:22 +0100 Subject: [PATCH] Bugfix with kill list --- src/game/server/gamecontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index c0069d90d..4c91915f9 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -800,7 +800,7 @@ void CGameContext::OnTick() int NbTargets = 0; for(int i=0; iIsInfected()) + if(m_apPlayers[i] && m_apPlayers[i]->IsInfected() && m_apPlayers[i]->GetClass() != PLAYERCLASS_UNDEAD) { m_aTargetList[NbTargets] = i; NbTargets++;