mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[8058] Avoid use error_log in non-scripting DLL code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
400c110e1f
commit
ec133404ca
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue