Fix build for Windows server

This commit is contained in:
David Cernat 2016-08-30 08:01:34 +03:00
parent 1186d09ec0
commit 32ce7e97a8
2 changed files with 3 additions and 3 deletions

View file

@ -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,);

View file

@ -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;