aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-27 15:38:09 -0500
committermegamage <none@none>2009-06-27 15:38:09 -0500
commit77cd4a8cb006cf80b6410523ce120b68a12ef550 (patch)
treef50d4fbf212ea0f7c4ced4f88afdb0fca912bdb4 /src
parentfe89fbfbdb00ab6e71a9a0ba00b4cc7d803dda0e (diff)
[8058] Avoid use error_log in non-scripting DLL code. Author: NoFantasy
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Creature.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}