[8058] Avoid use error_log in non-scripting DLL code. Author: NoFantasy
--HG-- branch : trunk
This commit is contained in:
@@ -2266,7 +2266,7 @@ void Creature::SetInCombatWithZone()
|
|||||||
{
|
{
|
||||||
if (!CanHaveThreatList())
|
if (!CanHaveThreatList())
|
||||||
{
|
{
|
||||||
error_log("Creature entry %u call SetInCombatWithZone but creature cannot have threat list.", GetEntry());
|
sLog.outError("Creature entry %u call SetInCombatWithZone but creature cannot have threat list.", GetEntry());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2274,7 +2274,7 @@ void Creature::SetInCombatWithZone()
|
|||||||
|
|
||||||
if (!pMap->IsDungeon())
|
if (!pMap->IsDungeon())
|
||||||
{
|
{
|
||||||
error_log("Creature entry %u call SetInCombatWithZone for map (id: %u) that isn't an instance.", GetEntry(), pMap->GetId());
|
sLog.outError("Creature entry %u call SetInCombatWithZone for map (id: %u) that isn't an instance.", GetEntry(), pMap->GetId());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user