From f323ca2768614008301f6cc8713383201fcd1848 Mon Sep 17 00:00:00 2001 From: Richard Helgeby Date: Sun, 22 Mar 2015 18:42:01 +0100 Subject: [PATCH] Use new syntax in ZTeleMustBeHuman and ZTeleCanHumanTeleport. --- src/zr/ztele.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/zr/ztele.inc b/src/zr/ztele.inc index fbdef2a..9d68a8f 100644 --- a/src/zr/ztele.inc +++ b/src/zr/ztele.inc @@ -448,15 +448,15 @@ ZTeleStopTimer(client) tZTele[client] = INVALID_HANDLE; } -ZTeleMustBeHuman(client) +bool ZTeleMustBeHuman(client) { - new bool:infected = InfectIsClientInfected(client); - new bool:ztelezombie = GetConVarBool(g_hCvarsList[CVAR_ZTELE_ZOMBIE]); + bool infected = InfectIsClientInfected(client); + bool ztelezombie = GetConVarBool(g_hCvarsList[CVAR_ZTELE_ZOMBIE]); return (infected && !ztelezombie); } -ZTeleCanHumanTeleport() +bool ZTeleCanHumanTeleport() { // There are individual restrictions whether a human can teleport before or // after zombies have spawned.