[Server] Add debug about information exchange in ID_PLAYER_CELL_CHANGE

pull/163/head
David Cernat 8 years ago
parent 37e7d2c15b
commit 58795119b6

@ -196,6 +196,9 @@ void Networking::processPlayerPacket(RakNet::Packet *packet)
playerController->GetPacket(ID_PLAYER_POS)->Send(pl, other->guid); playerController->GetPacket(ID_PLAYER_POS)->Send(pl, other->guid);
playerController->GetPacket(ID_PLAYER_EQUIPMENT)->Send(pl, other->guid); playerController->GetPacket(ID_PLAYER_EQUIPMENT)->Send(pl, other->guid);
playerController->GetPacket(ID_PLAYER_DRAWSTATE)->Send(pl, other->guid); playerController->GetPacket(ID_PLAYER_DRAWSTATE)->Send(pl, other->guid);
LOG_APPEND(Log::LOG_INFO, "- Exchanged information with %s",
other->npc.mName.c_str());
}); });
myPacket->Send(player, true); //send to other clients myPacket->Send(player, true); //send to other clients

Loading…
Cancel
Save