diff --git a/apps/openmw-mp/Script/Functions/GUI.cpp b/apps/openmw-mp/Script/Functions/GUI.cpp index 1dafa9211..f613883d9 100644 --- a/apps/openmw-mp/Script/Functions/GUI.cpp +++ b/apps/openmw-mp/Script/Functions/GUI.cpp @@ -9,7 +9,7 @@ -void GUIFunctions::MessageBox(unsigned short pid, int id, const char *label) noexcept +void GUIFunctions::_MessageBox(unsigned short pid, int id, const char *label) noexcept { Player *player; GET_PLAYER(pid, player,); diff --git a/apps/openmw-mp/Script/Functions/GUI.hpp b/apps/openmw-mp/Script/Functions/GUI.hpp index 5eef410e8..b3cfbb51d 100644 --- a/apps/openmw-mp/Script/Functions/GUI.hpp +++ b/apps/openmw-mp/Script/Functions/GUI.hpp @@ -6,7 +6,7 @@ #define OPENMW_GUI_HPP #define GUIFUNCTIONS \ - {"MessageBox", GUIFunctions::MessageBox},\ + {"_MessageBox", GUIFunctions::_MessageBox},\ {"CustomMessageBox", GUIFunctions::CustomMessageBox},\ {"InputDialog", GUIFunctions::InputDialog},\ {"SetMapVisibility", GUIFunctions::SetMapVisibility},\ @@ -15,7 +15,7 @@ class GUIFunctions { public: - static void MessageBox(unsigned short pid, int id, const char *label) noexcept; + static void _MessageBox(unsigned short pid, int id, const char *label) noexcept; static void CustomMessageBox(unsigned short pid, int id, const char *label, const char *buttons) noexcept; static void InputDialog(unsigned short pid, int id, const char *label) noexcept;