r5466 - trunk/data/qcsrc/client
esteel at icculus.org
esteel at icculus.org
Fri Jan 9 08:35:39 EST 2009
Author: esteel
Date: 2009-01-09 08:35:39 -0500 (Fri, 09 Jan 2009)
New Revision: 5466
Modified:
trunk/data/qcsrc/client/sbar.qc
Log:
do not display the team size hint if YOU are in the spectator team
Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc 2009-01-09 13:25:24 UTC (rev 5465)
+++ trunk/data/qcsrc/client/sbar.qc 2009-01-09 13:35:39 UTC (rev 5466)
@@ -1584,7 +1584,7 @@
if (init)
{
tm = GetTeam(GetPlayerColor(player_localentnum), false);
- if (tm && (tm.team_size - size) > 1)
+ if (tm && tm.team != COLOR_SPECTATOR && (tm.team_size - size) > 1)
{
s = strcat(blinkcolor, "Teamnumbers are unbalanced! Press ^3", getcommandkey("team menu", "menu_showteamselect"), blinkcolor, " to adjust");
o = Sbar_DrawNoteLine(o, s);
More information about the nexuiz-commits
mailing list