From 415ec86dc956dc55c4e8aea7216238fe4a9a262b Mon Sep 17 00:00:00 2001 From: Molgrum Date: Sat, 22 Sep 2007 18:09:12 +0000 Subject: [PATCH] Replaced "banned by ruleset" with " " when reporting player counts. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2667 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/zqtp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/client/zqtp.c b/engine/client/zqtp.c index ec9acd63d..cacfbbdd0 100644 --- a/engine/client/zqtp.c +++ b/engine/client/zqtp.c @@ -937,7 +937,7 @@ static void CountNearbyPlayers(qboolean dead) static char *Macro_CountNearbyEnemyPlayers (void) { if (!ruleset_allow_playercount.value) - return "banned by ruleset"; + return " "; CountNearbyPlayers(false); sprintf(macro_buf, "\xffz%d\xff", vars.numenemies); suppress = true; @@ -948,7 +948,7 @@ static char *Macro_CountNearbyEnemyPlayers (void) static char *Macro_Count_Last_NearbyEnemyPlayers (void) { if (!ruleset_allow_playercount.value) - return "banned by ruleset"; + return " "; if (vars.deathtrigger_time && realtime - vars.deathtrigger_time <= 5) { sprintf(macro_buf, "\xffz%d\xff", vars.last_numenemies); @@ -966,7 +966,7 @@ static char *Macro_Count_Last_NearbyEnemyPlayers (void) static char *Macro_CountNearbyFriendlyPlayers (void) { if (!ruleset_allow_playercount.value) - return "banned by ruleset"; + return " "; CountNearbyPlayers(false); sprintf(macro_buf, "\xffz%d\xff", vars.numfriendlies); suppress = true; @@ -977,7 +977,7 @@ static char *Macro_CountNearbyFriendlyPlayers (void) static char *Macro_Count_Last_NearbyFriendlyPlayers (void) { if (!ruleset_allow_playercount.value) - return "banned by ruleset"; + return " "; if (vars.deathtrigger_time && realtime - vars.deathtrigger_time <= 5) { sprintf(macro_buf, "\xffz%d\xff", vars.last_numfriendlies);