[Client] Make actor debug consistent with object debug

0.6.3
David Cernat 7 years ago
parent b0bd12f9dd
commit 97cd3effa7

@ -61,7 +61,7 @@ void LocalActor::update(bool forceUpdate)
void LocalActor::updateCell() void LocalActor::updateCell()
{ {
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Sending ID_ACTOR_CELL_CHANGE about %s-%i-%i to server", LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Sending ID_ACTOR_CELL_CHANGE about %s %i-%i to server",
refId.c_str(), refNumIndex, mpNum); refId.c_str(), refNumIndex, mpNum);
LOG_APPEND(Log::LOG_INFO, "- Moved from %s to %s", cell.getDescription().c_str(), ptr.getCell()->getCell()->getDescription().c_str()); LOG_APPEND(Log::LOG_INFO, "- Moved from %s to %s", cell.getDescription().c_str(), ptr.getCell()->getCell()->getDescription().c_str());
@ -186,7 +186,7 @@ void LocalActor::updateStatsDynamic(bool forceUpdate)
if (MechanicsHelper::isEmptyTarget(killer)) if (MechanicsHelper::isEmptyTarget(killer))
killer = MechanicsHelper::getTarget(ptr); killer = MechanicsHelper::getTarget(ptr);
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Sending ID_ACTOR_DEATH about %s-%i-%i to server", LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Sending ID_ACTOR_DEATH about %s %i-%i to server",
refId.c_str(), refNumIndex, mpNum); refId.c_str(), refNumIndex, mpNum);
mwmp::Main::get().getNetworking()->getActorList()->addDeathActor(*this); mwmp::Main::get().getNetworking()->getActorList()->addDeathActor(*this);

Loading…
Cancel
Save