From 2af811be401c01d3e2426406ccfa09e1c7884fa3 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Fri, 6 Dec 2019 12:43:41 +0200 Subject: [PATCH] [Client] Use proper log message when receiving ActorDeath packets --- apps/openmw/mwmp/Cell.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/openmw/mwmp/Cell.cpp b/apps/openmw/mwmp/Cell.cpp index 10d9e75dc..9267b6732 100644 --- a/apps/openmw/mwmp/Cell.cpp +++ b/apps/openmw/mwmp/Cell.cpp @@ -226,9 +226,9 @@ void Cell::readDeath(ActorList& actorList) Main::get().getCellController()->setQueuedDeathState(actor->getPtr(), baseActor.deathState); - LOG_MESSAGE_SIMPLE(TimedLog::LOG_INFO, "In Cell::readDeath, deathState is %i and isInstantDeath is %s", - baseActor.deathState, - baseActor.isInstantDeath ? "true" : "false"); + LOG_MESSAGE_SIMPLE(TimedLog::LOG_INFO, "Received ID_ACTOR_DEATH about %s %i-%i in cell %s\n- deathState: %d\n-isInstantDeath: %s", + actor->refId.c_str(), actor->refNum, actor->mpNum, getDescription().c_str(), + baseActor.deathState, baseActor.isInstantDeath ? "true" : "false"); if (baseActor.isInstantDeath) {