From da613d42939d1c45cfb364d24e0e551f58e7811d Mon Sep 17 00:00:00 2001 From: Mattia Basaglia Date: Sat, 11 Jul 2015 11:58:24 +0200 Subject: [PATCH] Keep the same spacing even if an entry doesn't have an icon --- qcsrc/client/mapvoting.qc | 2 -- 1 file changed, 2 deletions(-) diff --git a/qcsrc/client/mapvoting.qc b/qcsrc/client/mapvoting.qc index 566ebc163..f00ee544c 100644 --- a/qcsrc/client/mapvoting.qc +++ b/qcsrc/client/mapvoting.qc @@ -119,8 +119,6 @@ void GameTypeVote_DrawGameTypeItem(vector pos, float maxh, float tsize, string g if ( maxh < image_size.y ) image_size = '1 1 0' * maxh; image_size *= 0.8; - if(pic == "") - image_size = '0 0 0'; float desc_padding = gtv_text_size.x * 0.6; pos.x += image_size.x + desc_padding; tsize -= image_size.x + desc_padding; -- 2.39.2