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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Jul 11 16:57:53 EDT 2009


Author: div0
Date: 2009-07-11 16:57:52 -0400 (Sat, 11 Jul 2009)
New Revision: 7196

Modified:
   trunk/data/qcsrc/client/sbar.qc
Log:
fix yet another bug by TH :(


Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc	2009-07-11 19:58:08 UTC (rev 7195)
+++ trunk/data/qcsrc/client/sbar.qc	2009-07-11 20:57:52 UTC (rev 7196)
@@ -1264,10 +1264,11 @@
  	topright_z = 0;
 
 	//get the ID (could be "me", or the player I'm spectating)
-	if (spectatee_status)
+	if (spectatee_status > 0)
 		desiredPlayerId = spectatee_status - 1;
 	else
 		desiredPlayerId = player_localentnum - 1;
+	me = playerslots[desiredPlayerId];
 
 	sbar_y = vid_conheight - (32+12);
 	sbar_x -= margin;



More information about the nexuiz-commits mailing list