]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Don't strunzone portrait image and name after the timer expires. Keeps the strings...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 29 Jan 2012 21:53:45 +0000 (23:53 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 29 Jan 2012 21:53:45 +0000 (23:53 +0200)
data/qcsrc/client/hud.qc

index f2a7a57309b32b11053620a7f45392143dc9e8ba..a7283782612620abea5ea5812b3391109d2f1b9c 100644 (file)
@@ -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);\r
                drawcolorcodedstring(left + '10 80 0', portrait_name, '12 12 0', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
        }\r
-       else if(portrait_time)\r
-       {\r
-               strunzone(portrait_name);\r
-               strunzone(portrait_image);\r
-               portrait_time = 0;\r
-       }\r
 }\r
 \r
 void Sbar_Score()\r