diff --git a/apps/openmw-mp/Script/Functions/GUI.cpp b/apps/openmw-mp/Script/Functions/GUI.cpp index 49863d79b..0fe3908b2 100644 --- a/apps/openmw-mp/Script/Functions/GUI.cpp +++ b/apps/openmw-mp/Script/Functions/GUI.cpp @@ -69,7 +69,7 @@ void GUIFunctions::SetMapVisibilityAll(unsigned short targetPID, unsigned short LOG_MESSAGE(Log::LOG_WARN, "stub"); } -void GUIFunctions::SetConsoleAllow(unsigned short pid, char state) +void GUIFunctions::SetConsoleAllow(unsigned short pid, bool state) { 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 e75affa21..5cdb4a51d 100644 --- a/apps/openmw-mp/Script/Functions/GUI.hpp +++ b/apps/openmw-mp/Script/Functions/GUI.hpp @@ -29,7 +29,7 @@ public: static void SetMapVisibility(unsigned short targetPID, unsigned short affectedPID, unsigned short state) noexcept; static void SetMapVisibilityAll(unsigned short targetPID, unsigned short state) noexcept; - static void SetConsoleAllow(unsigned short pid, char state); + static void SetConsoleAllow(unsigned short pid, bool state); }; #endif //OPENMW_GUI_HPP