From 743d17e05a2439ac68d41f6acc78303d4415a21f Mon Sep 17 00:00:00 2001 From: Richard Helgeby Date: Thu, 12 Feb 2015 19:01:23 +0100 Subject: [PATCH] Remove client check when resetting zombie flag on round end. It doesn't matter whether the client is connected or not, all clients should reset to humans on round start anyways. This may also fix a bug where mother zombies sometimes are not teleported to spawn, but it's unconfirmed (both the bug and the fix). --- src/zr/infect.inc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/zr/infect.inc b/src/zr/infect.inc index 883b78f..aa58ee4 100644 --- a/src/zr/infect.inc +++ b/src/zr/infect.inc @@ -432,12 +432,6 @@ InfectOnRoundEnd() // x = client index. for (new x = 1; x <= MaxClients; x++) { - // If client isn't in-game, then stop. - if (!IsClientInGame(x)) - { - continue; - } - // Disable zombie flag on client. bZombie[x] = false; }