[General] Small tweaks to debug info

This commit is contained in:
David Cernat 2017-04-04 08:24:11 +03:00
parent 06acd3cbc4
commit 31cd836558
2 changed files with 2 additions and 1 deletions

View file

@ -19,7 +19,7 @@ namespace mwmp
void Do(WorldPacket &packet, Player &player, BaseEvent &event) override void Do(WorldPacket &packet, Player &player, BaseEvent &event) override
{ {
LOG_APPEND(Log::LOG_WARN, "- action: %i", event.action); LOG_APPEND(Log::LOG_INFO, "- action: %i", event.action);
// Until we have a timestamp-based system, send packets pertaining to more // Until we have a timestamp-based system, send packets pertaining to more
// than one container (i.e. replies to server requests for container contents) // than one container (i.e. replies to server requests for container contents)

View file

@ -1024,6 +1024,7 @@ void LocalPlayer::sendSpellbook()
void LocalPlayer::sendCellStates() void LocalPlayer::sendCellStates()
{ {
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Sending ID_PLAYER_CELL_STATE to server");
getNetworking()->getPlayerPacket(ID_PLAYER_CELL_STATE)->setPlayer(this); getNetworking()->getPlayerPacket(ID_PLAYER_CELL_STATE)->setPlayer(this);
getNetworking()->getPlayerPacket(ID_PLAYER_CELL_STATE)->Send(); getNetworking()->getPlayerPacket(ID_PLAYER_CELL_STATE)->Send();