mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
option for allowing cheats
This commit is contained in:
@@ -507,6 +507,13 @@ void CServerHandler::setTurnTimerInfo(const TurnTimerInfo & info) const
|
||||
sendLobbyPack(lstt);
|
||||
}
|
||||
|
||||
void CServerHandler::setCheatAllowedInfo(bool allowed) const
|
||||
{
|
||||
LobbySetCheatAllowed lsca;
|
||||
lsca.allowed = allowed;
|
||||
sendLobbyPack(lsca);
|
||||
}
|
||||
|
||||
void CServerHandler::sendMessage(const std::string & txt) const
|
||||
{
|
||||
std::istringstream readed;
|
||||
|
||||
Reference in New Issue
Block a user