From de16bd70d17212396573e4777a492449165039d6 Mon Sep 17 00:00:00 2001 From: fruitiex Date: Sat, 5 Sep 2009 11:32:53 +0000 Subject: [PATCH] [NOT FOR 2.5.2] oops, forgot something :( git-svn-id: svn://svn.icculus.org/nexuiz/trunk@7643 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/client/sbar.qc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index f196830d8..ad4dd63a1 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -1269,14 +1269,7 @@ void Sbar_Score() 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; -- 2.39.2