]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Just rename 2 functions
authorterencehill <piuntn@gmail.com>
Sat, 3 Dec 2011 18:34:36 +0000 (19:34 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 3 Dec 2011 18:34:36 +0000 (19:34 +0100)
qcsrc/client/Main.qc
qcsrc/client/View.qc
qcsrc/client/hud.qc

index 3d327dcf6e4182f5bc0dc3e54576106f01c9211d..5057b7eb3728ae722748a27cd11bb5555f89d099 100644 (file)
@@ -648,7 +648,7 @@ float CSQC_InputEvent(float bInputType, float nPrimary, float nSecondary)
        if (HUD_Panel_InputEvent(bInputType, nPrimary, nSecondary))
                return true;
 
-       if (HUD_Panel_QuickMenu_InputEvent(bInputType, nPrimary, nSecondary))
+       if (HUD_QuickMenu_InputEvent(bInputType, nPrimary, nSecondary))
                return true;
 
        if (MapVote_InputEvent(bInputType, nPrimary, nSecondary))
index 7461f959bf0e413122e871ba9e3ddd2a21fa4d36..ee5c56e02767060902e517897e9ee9b4eb98b14f 100644 (file)
@@ -1411,7 +1411,7 @@ void CSQC_UpdateView(float w, float h)
        if(autocvar__hud_configure)
                HUD_Panel_Mouse();
        else if (HUD_QuickMenu_IsOpened())
-               HUD_Panel_QuickMenu_Mouse();
+               HUD_QuickMenu_Mouse();
 
        if(hud && !intermission)
        {
index a665ca55327a31f15f4525b598f941093c4aa681..0887a7509990c9f896c150a4ad2822a014e1ef44 100644 (file)
@@ -5000,7 +5000,7 @@ void HUD_QuickMenu_ActionForNumber(float num)
        if (QuickMenu_Description[num] != "")
                HUD_QuickMenu_Open(QuickMenu_Description[num], 0);
 }
-float HUD_Panel_QuickMenu_InputEvent(float bInputType, float nPrimary, float nSecondary)
+float HUD_QuickMenu_InputEvent(float bInputType, float nPrimary, float nSecondary)
 {
        string s;
 
@@ -5066,7 +5066,7 @@ float HUD_Panel_QuickMenu_InputEvent(float bInputType, float nPrimary, float nSe
 
        return true;
 }
-void HUD_Panel_QuickMenu_Mouse()
+void HUD_QuickMenu_Mouse()
 {
        if (mouseClicked & S_MOUSE2)
        {