From: MirceaKitsune Date: Sun, 17 Jul 2011 12:03:03 +0000 (+0300) Subject: Fix the stomach board showing the wrong player in multiplayer, when showing your... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1ac1356b83ec94bbdd8239df01f1b575c0c9c1bf;p=voretournament%2Fvoretournament.git Fix the stomach board showing the wrong player in multiplayer, when showing your own self --- diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index 50234980..ef810f2c 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -3076,10 +3076,8 @@ void Sbar_Draw (void) if(pl.sv_entnum == getstati(STAT_VORE_EATEN) - 1) pred = pl; } - else if(spectatee_status && pl.sv_entnum == spectatee_status - 1) - pred = pl; // show the spectated player - else if(!spectatee_status) - pred = self; // show us + else if(pl.sv_entnum == player_localentnum - 1 || pl.sv_entnum == spectatee_status - 1) + pred = pl; // show us or the spectated player } // draw the predator's name