[nexuiz-commits] r8104 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Oct 11 11:59:58 EDT 2009


Author: div0
Date: 2009-10-11 11:59:58 -0400 (Sun, 11 Oct 2009)
New Revision: 8104

Modified:
   trunk/data/qcsrc/client/sbar.qc
Log:
do not show personal records in the actual race


Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc	2009-10-11 15:57:21 UTC (rev 8103)
+++ trunk/data/qcsrc/client/sbar.qc	2009-10-11 15:59:58 UTC (rev 8104)
@@ -3048,6 +3048,9 @@
 	float f; // yet another function has this
 	score = me.(scores[ps_primary]);
 
+	if not((scores_flags[ps_primary] & SFL_TIME) && !teamplay) // race/cts record display on HUD
+		return; // no records in the actual race
+
 	drawfont = sbar_bigfont;
 	vector pos;
 	pos_x = 2;



More information about the nexuiz-commits mailing list