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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Sep 5 07:32:53 EDT 2009


Author: fruitiex
Date: 2009-09-05 07:32:53 -0400 (Sat, 05 Sep 2009)
New Revision: 7643

Modified:
   trunk/data/qcsrc/client/sbar.qc
Log:
[NOT FOR 2.5.2] oops, forgot something :(


Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc	2009-09-05 11:27:46 UTC (rev 7642)
+++ trunk/data/qcsrc/client/sbar.qc	2009-09-05 11:32:53 UTC (rev 7643)
@@ -1269,14 +1269,7 @@
 	float score, distribution, leader;
 	vector score_pos, secondary_score_pos, distribution_color;
 	entity tm, pl, me;
-	//me = (spectatee_status > 0) ? playerslots[spectatee_status - 1] : playerslots[player_localentnum - 1];
-	
-	float desiredPlayerId;
-	if (spectatee_status > 0)
-		desiredPlayerId = spectatee_status - 1;
-	else
-		desiredPlayerId = player_localentnum - 1;
-	me = playerslots[desiredPlayerId];
+	me = (spectatee_status > 0) ? playerslots[spectatee_status - 1] : playerslots[player_localentnum - 1];
 
  	vector bottomright;
  	bottomright_x = vid_conwidth;



More information about the nexuiz-commits mailing list