]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix small typo, remove dead code
authorFruitieX <rasse@rasse-lappy.localdomain>
Sat, 19 Jun 2010 17:30:03 +0000 (20:30 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Sat, 19 Jun 2010 17:30:03 +0000 (20:30 +0300)
hud_wickedhud_default.cfg
qcsrc/client/hud.qc

index 3140c8f95e805102b01af088befaa3cc450f70f5..62d9d11b314cf24fbfb6c90797adb0f620c1edfb 100644 (file)
@@ -41,7 +41,7 @@ seta hud_inventory_bg_color "" "if set to something else than \"\" = override de
 seta hud_inventory_bg_color_team "" "override panel color with team color in team based games"
 seta hud_inventory_bg_alpha "" "if set to something else than \"\" = override default panel background alpha"
 seta hud_inventory_bg_border "" "if set to something else than \"\" = override default size of border around the background"
-seta hud_inventory_bg_padding "" if set to something else than \"\" = override default padding of contents from border"
+seta hud_inventory_bg_padding "" "if set to something else than \"\" = override default padding of contents from border"
 
 seta hud_powerups 1 "enable/disable this panel"
 seta hud_powerups_pos "0.400000 0.130000" "position of this panel"
index a54bf466a758b99c30de638dba0f34d54432b938..9a8059e84cd4108cf870bd614f1dbbb0bdbcb621 100644 (file)
@@ -1179,21 +1179,6 @@ void HUD_Panel_SetPosSize(float id)
        if(cvar("hud_configure_checkcollisions"))
        {
                mySize = HUD_Panel_CheckResize(id, mySize, resizeorigin);
-
-               /*
-               // Make sure once more that we DON'T cross the screen edges
-               // left/top screen edges
-               if(myPos_x < 0)
-                       mySize_x = mySize_x + myPos_x;
-               if(myPos_y < 0)
-                       mySize_y = mySize_y + myPos_y;
-
-               // bottom/right screen edges
-               if(myPos_x + mySize_x > vid_conwidth)
-                       mySize_x = vid_conwidth - myPos_x;
-               if(myPos_y + mySize_y > vid_conheight)
-                       mySize_y = vid_conheight - myPos_y;
-                       */
        }
 
        // minimum panel size cap, do this once more so we NEVER EVER EVER have a panel smaller than this, JUST IN CASE above code still makes the panel eg negative (impossible to resize back without changing cvars manually then)