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

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
NoFantasy 2009-06-21 04:12:24 +04:00 committed by VladimirMangos
parent 400c110e1f
commit ec133404ca
2 changed files with 3 additions and 3 deletions

View file

@ -1982,7 +1982,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;
}
@ -1990,7 +1990,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;
}

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8057"
#define REVISION_NR "8058"
#endif // __REVISION_NR_H__