*Add debug log to trac reason of a crash in Spell::DoAllEffectOnTarget.
--HG-- branch : trunk
This commit is contained in:
@@ -16637,6 +16637,8 @@ void Unit::OutDebugInfo() const
|
||||
sLog.outString("GUID "UI64FMTD", entry %u, type %u, name %s", GetGUID(), GetEntry(), (uint32)GetTypeId(), GetName());
|
||||
sLog.outString("OwnerGUID "UI64FMTD", MinionGUID "UI64FMTD", CharmerGUID "UI64FMTD", CharmedGUID "UI64FMTD, GetOwnerGUID(), GetMinionGUID(), GetCharmerGUID(), GetCharmGUID());
|
||||
sLog.outString("In world %u, unit type mask %u", (uint32)(IsInWorld() ? 1 : 0), m_unitTypeMask);
|
||||
if (IsInWorld())
|
||||
sLog.outString("Mapid %u", GetMapId());
|
||||
|
||||
sLog.outStringInLine("Summon Slot: ");
|
||||
for (uint32 i = 0; i < MAX_SUMMON_SLOT; ++i)
|
||||
|
||||
Reference in New Issue
Block a user