eh, that's supposed to be < not <= (fixes console spam when clicking in upper left...
authorFruitieX <rasse@rasse-lappy.localdomain>
Fri, 11 Jun 2010 21:53:44 +0000 (00:53 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Fri, 11 Jun 2010 21:53:44 +0000 (00:53 +0300)
qcsrc/client/hud.qc

index 5dab7f7..b003478 100644 (file)
@@ -1242,7 +1242,7 @@ void HUD_Panel_Mouse()
                vector panelPos;
                vector panelSize;
 
-               for(i = 0; i <= HUD_PANEL_NUM; ++i)
+               for(i = 0; i < HUD_PANEL_NUM; ++i)
                {
                        panelPos = HUD_Panel_GetPos(i);
                        panelSize = HUD_Panel_GetSize(i);