mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Try to fix mxe build
This commit is contained in:
@@ -129,7 +129,7 @@ void Lobby::serverCommand(const ServerCommand & command) try
|
||||
QString joinStr;
|
||||
switch(command.command)
|
||||
{
|
||||
case ERROR:
|
||||
case SRVERROR:
|
||||
protocolAssert(args.size());
|
||||
chatMessage("System error:" + args[0]);
|
||||
break;
|
||||
|
@@ -17,7 +17,7 @@ enum ProtocolConsts
|
||||
GREETING, USERNAME, MESSAGE, VERSION, CREATE, JOIN, LEAVE, READY,
|
||||
|
||||
//server consts
|
||||
SESSIONS, CREATED, JOINED, KICKED, ERROR, CHAT, START, STATUS, HOST
|
||||
SESSIONS, CREATED, JOINED, KICKED, SRVERROR, CHAT, START, STATUS, HOST
|
||||
};
|
||||
|
||||
const QMap<ProtocolConsts, QString> ProtocolStrings
|
||||
@@ -39,7 +39,7 @@ const QMap<ProtocolConsts, QString> ProtocolStrings
|
||||
{START, "START"}, //session_name:uuid
|
||||
{HOST, "HOST"}, //host_uuid:players_count
|
||||
{STATUS, "STATUS"}, //joined_players:player_name:is_ready
|
||||
{ERROR, "ERROR"},
|
||||
{SRVERROR, "ERROR"},
|
||||
{CHAT, "MSG"} //username:message
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user