1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-28 12:39:39 +00:00

[Client] Fix remaining mistakes in debug for received ActorAI packets

This commit is contained in:
David Cernat 2018-07-11 23:11:37 +03:00
parent 5bb442bbd3
commit 8ca29dbaac

View file

@ -252,7 +252,6 @@ void DedicatedActor::setAI()
targetPtr = MechanicsHelper::getPlayerPtr(aiTarget);
LOG_APPEND(Log::LOG_VERBOSE, "-- Has player target %s",
ptr.getCellRef().getRefId().c_str(), ptr.getCellRef().getRefNum().mIndex, ptr.getCellRef().getMpNum(),
targetPtr.getClass().getName(targetPtr).c_str());
}
else
@ -267,13 +266,11 @@ void DedicatedActor::setAI()
if (targetPtr)
{
LOG_APPEND(Log::LOG_VERBOSE, "-- Has AI target %s %i-%i",
ptr.getCellRef().getRefId().c_str(), ptr.getCellRef().getRefNum().mIndex, ptr.getCellRef().getMpNum(),
targetPtr.getCellRef().getRefId().c_str(), aiTarget.refNumIndex, aiTarget.mpNum);
}
else
{
LOG_APPEND(Log::LOG_VERBOSE, "-- Has invalid target AI target %i-%i",
ptr.getCellRef().getRefId().c_str(), ptr.getCellRef().getRefNum().mIndex, ptr.getCellRef().getMpNum(),
aiTarget.refNumIndex, aiTarget.mpNum);
}