From: MirceaKitsune Date: Fri, 3 Sep 2010 23:23:18 +0000 (+0300) Subject: Attempt to fix spectators. This might not be the right way and need to be checked... X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=118baea4d46ef7f9ccbb95a6d799b21b9ce3fa9d;p=voretournament%2Fvoretournament.git Attempt to fix spectators. This might not be the right way and need to be checked again though. --- diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index 438e3add..91825f72 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -2914,13 +2914,15 @@ void Sbar_Draw (void) if(pl.team == COLOR_SPECTATOR) continue; - //if(spectatee_status) - // f = pl.pleater == spectatee_status; - if(getstati(STAT_STOMACH_EATEN)) f = pl.pleater == getstati(STAT_STOMACH_EATEN); else - f = pl.pleater == player_localentnum; + { + if(spectatee_status) + f = pl.pleater == spectatee_status; + else + f = pl.pleater == player_localentnum; + } if(f) {