From: MirceaKitsune Date: Sat, 16 Jul 2011 22:13:46 +0000 (+0300) Subject: Don't show names for prey when the stomach model is at full alpha X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9e7953c15b50d824aa96410668b2eccadc8f750d;p=voretournament%2Fvoretournament.git Don't show names for prey when the stomach model is at full alpha --- diff --git a/data/qcsrc/client/shownames.qc b/data/qcsrc/client/shownames.qc index 6280c991..3da7d347 100644 --- a/data/qcsrc/client/shownames.qc +++ b/data/qcsrc/client/shownames.qc @@ -9,9 +9,10 @@ void Draw_ShowNames(entity ent) { if(!cvar("hud_shownames")) return; - if(ent.sv_entnum == player_localentnum && !cvar("chase_active")) return; + if(getstati(STAT_VORE_EATEN) && cvar("cl_vore_stomachmodel") >= 1 && !cvar("chase_active")) + return; float sameteam; if(teamplay && (GetPlayerColor(player_localentnum - 1) == GetPlayerColor(ent.sv_entnum - 1)))