[nexuiz-commits] r7162 - trunk/data/qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Jul 8 11:25:12 EDT 2009
Author: div0
Date: 2009-07-08 11:25:12 -0400 (Wed, 08 Jul 2009)
New Revision: 7162
Modified:
trunk/data/qcsrc/client/View.qc
trunk/data/qcsrc/client/sbar.qc
Log:
close 408
Modified: trunk/data/qcsrc/client/View.qc
===================================================================
--- trunk/data/qcsrc/client/View.qc 2009-07-08 15:23:58 UTC (rev 7161)
+++ trunk/data/qcsrc/client/View.qc 2009-07-08 15:25:12 UTC (rev 7162)
@@ -322,7 +322,10 @@
dprint_load();
WaypointSprite_Load();
- myteam = GetPlayerColor(player_localentnum - 1);
+ if(spectatee_status)
+ myteam = GetPlayerColor(spectatee_status - 1);
+ else
+ myteam = GetPlayerColor(player_localentnum - 1);
ticrate = getstatf(STAT_MOVEVARS_TICRATE) * getstatf(STAT_MOVEVARS_TIMESCALE);
Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc 2009-07-08 15:23:58 UTC (rev 7161)
+++ trunk/data/qcsrc/client/sbar.qc 2009-07-08 15:25:12 UTC (rev 7162)
@@ -2235,7 +2235,7 @@
o = Sbar_DrawNoteLine(o, s);
}
}
- if(teamplay && !intermission)
+ if(teamplay && !intermission && !spectatee_status)
{
entity tm;
float ts_min, ts_max;
More information about the nexuiz-commits
mailing list