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

coverity_scan^2
Koncord 8 years ago
parent 75afa58981
commit 0b8d0224d1

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

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

Loading…
Cancel
Save