[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");
}
void GUIFunctions::SetConsoleAllow(unsigned short pid, char state)
void GUIFunctions::SetConsoleAllow(unsigned short pid, bool state)
{
Player *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 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