mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +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())
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1990,7 +1990,7 @@ void Creature::SetInCombatWithZone()
|
||||||
|
|
||||||
if (!pMap->IsDungeon())
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8057"
|
#define REVISION_NR "8058"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue