[8058] Avoid use error_log in non-scripting DLL code. Author: NoFantasy

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-27 15:38:09 -05:00
parent fe89fbfbdb
commit 77cd4a8cb0

View File

@@ -2266,7 +2266,7 @@ void Creature::SetInCombatWithZone()
{
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;
}
@@ -2274,7 +2274,7 @@ void Creature::SetInCombatWithZone()
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;
}