fix gm actions parse

master
Eduardo Bart 12 years ago
parent bc7f22d395
commit 4f4f306cd7

@ -63,6 +63,7 @@ namespace Proto {
enum GameServerOpts {
GameServerInitGame = 10,
GameServerGMActions = 11,
GameServerLoginError = 20,
GameServerLoginAdvice = 21,
GameServerLoginWait = 22,

@ -43,7 +43,7 @@ void ProtocolGame::parseMessage(InputMessage& msg)
case Proto::GameServerInitGame:
parsePlayerLogin(msg);
break;
case 0x0B:
case Proto::GameServerGMActions:
parseGMActions(msg);
break;
case Proto::GameServerLoginError:
@ -279,7 +279,7 @@ void ProtocolGame::parsePlayerLogin(InputMessage& msg)
void ProtocolGame::parseGMActions(InputMessage& msg)
{
for(uint8 i = 0; i < 28; ++i)
for(uint8 i = 0; i < 19; ++i)
msg.getU8();
}

Loading…
Cancel
Save