]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove unneccessary resize check, not needed anymore when there are no more aspect...
authorFruitieX <rasse@rasse-lappy.localdomain>
Fri, 18 Jun 2010 21:35:43 +0000 (00:35 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Fri, 18 Jun 2010 21:35:43 +0000 (00:35 +0300)
qcsrc/client/hud.qc

index 8b44fdb9bedebe2b5cba4ab7ccb976e1a274bd38..a54bf466a758b99c30de638dba0f34d54432b938 100644 (file)
@@ -1180,6 +1180,7 @@ void HUD_Panel_SetPosSize(float id)
        {
                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)
@@ -1192,6 +1193,7 @@ void HUD_Panel_SetPosSize(float id)
                        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)