mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
fix gm actions parse
This commit is contained in:
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…
x
Reference in New Issue
Block a user