From: FruitieX Date: Fri, 18 Jun 2010 21:35:43 +0000 (+0300) Subject: remove unneccessary resize check, not needed anymore when there are no more aspect... X-Git-Tag: xonotic-v0.1.0preview~541^2~1 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=93b95054ba9b14741bc9f6cf44699660b25068db remove unneccessary resize check, not needed anymore when there are no more aspect forced panels --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 8b44fdb9be..a54bf466a7 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -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)