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
This commit is contained in:
parent
79d348a9e5
commit
415ec86dc9
1 changed files with 4 additions and 4 deletions
|
@ -937,7 +937,7 @@ static void CountNearbyPlayers(qboolean dead)
|
||||||
static char *Macro_CountNearbyEnemyPlayers (void)
|
static char *Macro_CountNearbyEnemyPlayers (void)
|
||||||
{
|
{
|
||||||
if (!ruleset_allow_playercount.value)
|
if (!ruleset_allow_playercount.value)
|
||||||
return "banned by ruleset";
|
return " ";
|
||||||
CountNearbyPlayers(false);
|
CountNearbyPlayers(false);
|
||||||
sprintf(macro_buf, "\xffz%d\xff", vars.numenemies);
|
sprintf(macro_buf, "\xffz%d\xff", vars.numenemies);
|
||||||
suppress = true;
|
suppress = true;
|
||||||
|
@ -948,7 +948,7 @@ static char *Macro_CountNearbyEnemyPlayers (void)
|
||||||
static char *Macro_Count_Last_NearbyEnemyPlayers (void)
|
static char *Macro_Count_Last_NearbyEnemyPlayers (void)
|
||||||
{
|
{
|
||||||
if (!ruleset_allow_playercount.value)
|
if (!ruleset_allow_playercount.value)
|
||||||
return "banned by ruleset";
|
return " ";
|
||||||
if (vars.deathtrigger_time && realtime - vars.deathtrigger_time <= 5)
|
if (vars.deathtrigger_time && realtime - vars.deathtrigger_time <= 5)
|
||||||
{
|
{
|
||||||
sprintf(macro_buf, "\xffz%d\xff", vars.last_numenemies);
|
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)
|
static char *Macro_CountNearbyFriendlyPlayers (void)
|
||||||
{
|
{
|
||||||
if (!ruleset_allow_playercount.value)
|
if (!ruleset_allow_playercount.value)
|
||||||
return "banned by ruleset";
|
return " ";
|
||||||
CountNearbyPlayers(false);
|
CountNearbyPlayers(false);
|
||||||
sprintf(macro_buf, "\xffz%d\xff", vars.numfriendlies);
|
sprintf(macro_buf, "\xffz%d\xff", vars.numfriendlies);
|
||||||
suppress = true;
|
suppress = true;
|
||||||
|
@ -977,7 +977,7 @@ static char *Macro_CountNearbyFriendlyPlayers (void)
|
||||||
static char *Macro_Count_Last_NearbyFriendlyPlayers (void)
|
static char *Macro_Count_Last_NearbyFriendlyPlayers (void)
|
||||||
{
|
{
|
||||||
if (!ruleset_allow_playercount.value)
|
if (!ruleset_allow_playercount.value)
|
||||||
return "banned by ruleset";
|
return " ";
|
||||||
if (vars.deathtrigger_time && realtime - vars.deathtrigger_time <= 5)
|
if (vars.deathtrigger_time && realtime - vars.deathtrigger_time <= 5)
|
||||||
{
|
{
|
||||||
sprintf(macro_buf, "\xffz%d\xff", vars.last_numfriendlies);
|
sprintf(macro_buf, "\xffz%d\xff", vars.last_numfriendlies);
|
||||||
|
|
Loading…
Reference in a new issue