From: MirceaKitsune Date: Sat, 4 Sep 2010 12:38:55 +0000 (+0300) Subject: This shall stay removed. Also better a comment X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3f397dee199b9a2d421a1938a1037435eed0190c;p=voretournament%2Fvoretournament.git This shall stay removed. Also better a comment --- diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index 665abaa1..47917f7a 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -949,16 +949,9 @@ void Sbar_PrintScoreboardItem(vector pos, entity pl, float is_self, float pl_num float fieldcounter; void Sbar_PrintStomachboardItem(vector pos, entity pl) { - vector tmp, rgb; - rgb = GetTeamRGB(pl.team); string str; float f, field; - // Layout: - tmp_x = sbwidth; - tmp_y = sbar_fontsize_y * 1.25; - tmp_z = 0; - for(fieldcounter = 1; fieldcounter <= 2; ++fieldcounter) { field = -fieldcounter; @@ -978,7 +971,7 @@ void Sbar_PrintStomachboardItem(vector pos, entity pl) } if(field == ST_HEALTH) - if(g_vore_showpreyhealth && stof(str)) { // only if player health is not 0 + if(g_vore_showpreyhealth && stof(str)) { // only if player health is not 0. Also used to hide the predators health pos_x += 138; if(pl.sv_entnum == player_localentnum - 1 || (spectatee_status && pl.sv_entnum == spectatee_status - 1)) drawcolorcodedstring(pos, " me", '11 11 0', sbar_alpha_fg, DRAWFLAG_NORMAL);