]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Keep the same spacing even if an entry doesn't have an icon
authorMattia Basaglia <mattia.basaglia@gmail.com>
Sat, 11 Jul 2015 09:58:24 +0000 (11:58 +0200)
committerMattia Basaglia <mattia.basaglia@gmail.com>
Sat, 11 Jul 2015 09:58:24 +0000 (11:58 +0200)
qcsrc/client/mapvoting.qc

index 566ebc1635d77e6e481965d84e341d8a1c416f0d..f00ee544c059f76cd3ec85bdf5375914df4caa9e 100644 (file)
@@ -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;