From 1ac1356b83ec94bbdd8239df01f1b575c0c9c1bf Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sun, 17 Jul 2011 15:03:03 +0300 Subject: [PATCH] Fix the stomach board showing the wrong player in multiplayer, when showing your own self --- data/qcsrc/client/sbar.qc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 -- 2.39.2