mangosR2/scriptdev2 — comment on commit 9431b6e0fdf13e26f5fc0e70f9df10df4088c123
File: base/guard_ai.cpp line 118
By Azerus:

void Creature::SetInCombatWithZone()
{
if (!CanHaveThreatList())
{
sLog.outError("Creature entry %u call SetInCombatWithZone but creature cannot have threat list.", GetEntry());
return;
}

Map* pMap = GetMap();

if (!pMap->IsDungeon())
{
sLog.outError("Creature entry %u call SetInCombatWithZone for map (id: %u) that isn't an instance.", GetEntry(), pMap->GetId());
return;
}