From dcbc9d18311d2c4198b0fe9e02f95315d2c7966a Mon Sep 17 00:00:00 2001 From: David Cernat Date: Thu, 21 Feb 2019 21:51:02 +0200 Subject: [PATCH] [Client] Print cells for actor deaths --- apps/openmw/mwmp/LocalActor.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/openmw/mwmp/LocalActor.cpp b/apps/openmw/mwmp/LocalActor.cpp index 27c4f6088..7cf1848db 100644 --- a/apps/openmw/mwmp/LocalActor.cpp +++ b/apps/openmw/mwmp/LocalActor.cpp @@ -68,10 +68,10 @@ void LocalActor::update(bool forceUpdate) void LocalActor::updateCell() { - LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Sending ID_ACTOR_CELL_CHANGE about %s %i-%i to server", - refId.c_str(), refNum, mpNum); + LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Sending ID_ACTOR_CELL_CHANGE about %s %i-%i in cell %s to server", + refId.c_str(), refNum, mpNum, cell.getDescription().c_str()); - LOG_APPEND(Log::LOG_VERBOSE, "- Moved from %s to %s", cell.getDescription().c_str(), ptr.getCell()->getCell()->getDescription().c_str()); + LOG_APPEND(Log::LOG_VERBOSE, "- Moved to cell %s", ptr.getCell()->getCell()->getDescription().c_str()); cell = *ptr.getCell()->getCell(); position = ptr.getRefData().getPosition(); @@ -194,8 +194,8 @@ void LocalActor::updateStatsDynamic(bool forceUpdate) if (MechanicsHelper::isEmptyTarget(killer)) killer = MechanicsHelper::getTarget(ptr); - LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Sending ID_ACTOR_DEATH about %s %i-%i to server", - refId.c_str(), refNum, mpNum); + LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Sending ID_ACTOR_DEATH about %s %i-%i in cell %s to server", + refId.c_str(), refNum, mpNum, cell.getDescription().c_str()); mwmp::Main::get().getNetworking()->getActorList()->addDeathActor(*this);