mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Try to fix mxe build
This commit is contained in:
parent
6eb43d3834
commit
0a2a250379
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user