Fix "Unhandled PlayerPacket with identifier 135"

This commit is contained in:
Koncord 2016-12-21 15:01:18 +08:00
parent 561a88d441
commit 0d9a4f2b6f

View file

@ -125,16 +125,16 @@ void Networking::processPlayerPacket(RakNet::Packet *packet)
switch (packet->data[0]) switch (packet->data[0])
{ {
/*case ID_GAME_BASE_INFO: case ID_GAME_BASE_INFO:
{ {
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Received ID_GAME_BASE_INFO about %s", /*LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Received ID_GAME_BASE_INFO about %s",
player->Npc()->mName.c_str()); player->Npc()->mName.c_str());
myPacket->Read(player); myPacket->Read(player);
myPacket->Send(player, true); myPacket->Send(player, true);*/
break; break;
}*/ }
case ID_GAME_POS: case ID_GAME_POS:
{ {
//DEBUG_PRINTF("ID_GAME_POS \n"); //DEBUG_PRINTF("ID_GAME_POS \n");