From: terencehill Date: Sat, 3 Dec 2011 18:34:36 +0000 (+0100) Subject: Just rename 2 functions X-Git-Tag: xonotic-v0.8.2~1987^2~55^2~30 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=39d28cb50b289c714e56e38967057d8a28c1e04c;p=xonotic%2Fxonotic-data.pk3dir.git Just rename 2 functions --- diff --git a/qcsrc/client/Main.qc b/qcsrc/client/Main.qc index 3d327dcf6..5057b7eb3 100644 --- a/qcsrc/client/Main.qc +++ b/qcsrc/client/Main.qc @@ -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)) diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index 7461f959b..ee5c56e02 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -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) { diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index a665ca553..0887a7509 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -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) {