1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 13:49:40 +00:00

[Server] Change type in second argument in SetConsoleAllow to "bool"

This commit is contained in:
Koncord 2017-02-01 13:44:25 +08:00
parent 75afa58981
commit 0b8d0224d1
2 changed files with 2 additions and 2 deletions

View file

@ -69,7 +69,7 @@ void GUIFunctions::SetMapVisibilityAll(unsigned short targetPID, unsigned short
LOG_MESSAGE(Log::LOG_WARN, "stub"); LOG_MESSAGE(Log::LOG_WARN, "stub");
} }
void GUIFunctions::SetConsoleAllow(unsigned short pid, char state) void GUIFunctions::SetConsoleAllow(unsigned short pid, bool state)
{ {
Player *player; Player *player;
GET_PLAYER(pid, player,); GET_PLAYER(pid, player,);

View file

@ -29,7 +29,7 @@ public:
static void SetMapVisibility(unsigned short targetPID, unsigned short affectedPID, unsigned short state) noexcept; 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 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 #endif //OPENMW_GUI_HPP