From 74cacd5e75fc5521c07f1d3f0b4509597eb81b93 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 1 Apr 2009 19:07:07 +0200 Subject: [PATCH] Fixed bug 23. Added a mother zombie check before respawning as zombie on suicide by world damage. --- src/zr/zombie.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zr/zombie.inc b/src/zr/zombie.inc index c1c5808..a75b42f 100755 --- a/src/zr/zombie.inc +++ b/src/zr/zombie.inc @@ -901,7 +901,7 @@ RespawnPlayer(client) return; } - if (GetConVarBool(gCvars[CVAR_SUICIDE_WORLD_DAMAGE]) && gKilledByWorld[client]) + if (zombieSpawned && GetConVarBool(gCvars[CVAR_SUICIDE_WORLD_DAMAGE]) && gKilledByWorld[client]) { Zombify(client, 0); gKilledByWorld[client] = false;