1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 23:53:52 +00:00

[Client] Use proper log message when receiving ActorDeath packets

This commit is contained in:
David Cernat 2019-12-06 12:43:41 +02:00
parent 1950748dae
commit 2af811be40

View file

@ -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)
{