]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Yet another bug in the commit c500f774... (OMG Samual, how many changes in one commit!)
authorterencehill <piuntn@gmail.com>
Mon, 21 Nov 2011 21:46:28 +0000 (22:46 +0100)
committerterencehill <piuntn@gmail.com>
Mon, 21 Nov 2011 21:46:28 +0000 (22:46 +0100)
qcsrc/client/hud.qc

index 4d46c85fc2a73eb22f1592c8bd91bbcc2c144cac..fd2073c0ee26320c350a068881c59a28375a8ba2 100644 (file)
@@ -456,7 +456,7 @@ void HUD_Weapons(void)
        vector color, ammo_color;
 
        // check to see if we want to continue
-  if(hud != HUD_NORMAL) { return; }
+       if(hud != HUD_NORMAL) { return; }
 
        if(!autocvar__hud_configure)
        {
@@ -533,7 +533,7 @@ void HUD_Weapons(void)
                                ++weapon_count;
 
                // add it anyway if weaponcomplain is shown
-               if((!autocvar__hud_configure)
+               if((!autocvar__hud_configure) 
                        && (autocvar_hud_panel_weapons_complainbubble 
                                && time - complain_weapon_time < when + fadetime))
                                        ++weapon_count;
@@ -630,7 +630,7 @@ void HUD_Weapons(void)
        if(panel_bg_padding)
        {
                panel_pos += '1 1 0' * panel_bg_padding;
-               panel_size -= '1 1 0' * panel_bg_padding;
+               panel_size -= '2 2 0' * panel_bg_padding;
        }
 
        // after the sizing and animations are done, update the other values