1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-01 17:19:39 +00:00

[Client] Fix log messages when sending ID_CONTAINER

This commit is contained in:
David Cernat 2017-02-09 21:48:22 +02:00
parent ae23c6d6a5
commit f02840d638

View file

@ -128,7 +128,7 @@ namespace MWGui
worldObject.refId.c_str(), worldObject.refId.c_str(),
worldObject.refNumIndex, worldObject.refNumIndex,
event->cell.getDescription().c_str(), event->cell.getDescription().c_str(),
containerItem.refId, containerItem.refId.c_str(),
containerItem.count); containerItem.count);
delete event; delete event;
@ -189,7 +189,7 @@ namespace MWGui
worldObject.refId.c_str(), worldObject.refId.c_str(),
worldObject.refNumIndex, worldObject.refNumIndex,
event->cell.getDescription().c_str(), event->cell.getDescription().c_str(),
containerItem.refId, containerItem.refId.c_str(),
containerItem.count); containerItem.count);
delete event; delete event;
@ -326,7 +326,7 @@ namespace MWGui
mwmp::Main::get().getNetworking()->getWorldPacket(ID_CONTAINER)->Send(event); mwmp::Main::get().getNetworking()->getWorldPacket(ID_CONTAINER)->Send(event);
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Sending ID_CONTAINER about\n- Ptr cellRef: %s, %i\n- cell: %s\n- item: %s, %i", LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Sending ID_CONTAINER about\n- Ptr cellRef: %s, %i\n- cell: %s",
worldObject.refId.c_str(), worldObject.refId.c_str(),
worldObject.refNumIndex, worldObject.refNumIndex,
event->cell.getDescription().c_str()); event->cell.getDescription().c_str());