From c8f7964a0ca425e9e423343830246a809c716cc6 Mon Sep 17 00:00:00 2001 From: zaCade Date: Wed, 29 Aug 2018 16:21:27 +0200 Subject: [PATCH] General: Hande another case, and change some stuff. Forgot to change these when i copied it, and didnt think about the case what would happen w/e zspawn is blocked. --- src/zr/zspawn.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/zr/zspawn.inc b/src/zr/zspawn.inc index 1218410..8e5ac67 100644 --- a/src/zr/zspawn.inc +++ b/src/zr/zspawn.inc @@ -26,13 +26,13 @@ */ /** - * Conditions for respawning players. + * Conditions for zspawning players. */ enum ZSpawnCondition { - ZSpawn_Block = -1, /** Let ZR decide according to its settings. */ - ZSpawn_Human = 0, /** Respawn as a human. */ - ZSpawn_Zombie /** Respawn as a zombie. */ + ZSpawn_Block = -1, /** Block ZSpawn. */ + ZSpawn_Human = 0, /** ZSpawn as a human. */ + ZSpawn_Zombie /** ZSpawn as a zombie. */ } /** @@ -130,7 +130,7 @@ ZSpawnOnClientSpawn(client) switch(condition) { - case ZSpawn_Human: + case ZSpawn_Human, ZSpawn_Block: { // Disable zombie flag on client. g_bZombie[client] = false;