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:
parent
75afa58981
commit
0b8d0224d1
2 changed files with 2 additions and 2 deletions
|
@ -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,);
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue