From: Mattia Basaglia Date: Sat, 11 Jul 2015 09:58:24 +0000 (+0200) Subject: Keep the same spacing even if an entry doesn't have an icon X-Git-Tag: xonotic-v0.8.1~43^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=da613d42939d1c45cfb364d24e0e551f58e7811d;p=xonotic%2Fxonotic-data.pk3dir.git Keep the same spacing even if an entry doesn't have an icon --- 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;