From 77cd4a8cb006cf80b6410523ce120b68a12ef550 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 27 Jun 2009 15:38:09 -0500 Subject: [8058] Avoid use error_log in non-scripting DLL code. Author: NoFantasy --HG-- branch : trunk --- src/game/Creature.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game') diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index c8dcd0d2414..44270574c2f 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -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; } -- cgit v1.2.3