From 93b95054ba9b14741bc9f6cf44699660b25068db Mon Sep 17 00:00:00 2001 From: FruitieX Date: Sat, 19 Jun 2010 00:35:43 +0300 Subject: [PATCH] remove unneccessary resize check, not needed anymore when there are no more aspect forced panels --- qcsrc/client/hud.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 8b44fdb9b..a54bf466a 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) -- 2.39.2