From 32ce7e97a8444a8ca97a1b27b31413e62a3fc56b Mon Sep 17 00:00:00 2001 From: David Cernat Date: Tue, 30 Aug 2016 08:01:34 +0300 Subject: [PATCH] Fix build for Windows server --- apps/openmw-mp/Script/Functions/GUI.cpp | 2 +- apps/openmw-mp/Script/Functions/GUI.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;