From: MirceaKitsune Date: Sun, 29 Jan 2012 21:53:45 +0000 (+0200) Subject: Don't strunzone portrait image and name after the timer expires. Keeps the strings... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b1c5ff13032731b85d6272beee3541b297495b3b;p=voretournament%2Fvoretournament.git Don't strunzone portrait image and name after the timer expires. Keeps the strings in memory when they aren't drawn, but this is better --- diff --git a/data/qcsrc/client/hud.qc b/data/qcsrc/client/hud.qc index f2a7a573..a7283782 100644 --- a/data/qcsrc/client/hud.qc +++ b/data/qcsrc/client/hud.qc @@ -1696,12 +1696,6 @@ void Sbar_Portrait() drawpic(left + '10 -80 0', portrait_image, '120 160 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL); drawcolorcodedstring(left + '10 80 0', portrait_name, '12 12 0', sbar_alpha_fg, DRAWFLAG_NORMAL); } - else if(portrait_time) - { - strunzone(portrait_name); - strunzone(portrait_image); - portrait_time = 0; - } } void Sbar_Score()