From f02840d6385f1830a4f26b552eac124517213af6 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Thu, 9 Feb 2017 21:48:22 +0200 Subject: [PATCH] [Client] Fix log messages when sending ID_CONTAINER --- apps/openmw/mwgui/container.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/openmw/mwgui/container.cpp b/apps/openmw/mwgui/container.cpp index 469edb5f0..a5e2cae87 100644 --- a/apps/openmw/mwgui/container.cpp +++ b/apps/openmw/mwgui/container.cpp @@ -128,7 +128,7 @@ namespace MWGui worldObject.refId.c_str(), worldObject.refNumIndex, event->cell.getDescription().c_str(), - containerItem.refId, + containerItem.refId.c_str(), containerItem.count); delete event; @@ -189,7 +189,7 @@ namespace MWGui worldObject.refId.c_str(), worldObject.refNumIndex, event->cell.getDescription().c_str(), - containerItem.refId, + containerItem.refId.c_str(), containerItem.count); delete event; @@ -326,7 +326,7 @@ namespace MWGui 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.refNumIndex, event->cell.getDescription().c_str());