mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-03 11:12:25 +00:00
Removed preprocessor EQDEBUG in CheckWillAggro and converted log message
This commit is contained in:
parent
c23a5008e2
commit
f760597684
@ -342,11 +342,8 @@ bool Mob::CheckWillAggro(Mob *mob) {
|
|||||||
{
|
{
|
||||||
//FatherNiwtit: make sure we can see them. last since it is very expensive
|
//FatherNiwtit: make sure we can see them. last since it is very expensive
|
||||||
if(CheckLosFN(mob)) {
|
if(CheckLosFN(mob)) {
|
||||||
|
logger.LogDebugType(EQEmuLogSys::Detail, EQEmuLogSys::Aggro, "Check aggro for %s target %s.", GetName(), mob->GetName());
|
||||||
// Aggro
|
|
||||||
#if EQDEBUG>=6
|
|
||||||
logger.LogDebug(EQEmuLogSys::General, "Check aggro for %s target %s.", GetName(), mob->GetName());
|
|
||||||
#endif
|
|
||||||
return( mod_will_aggro(mob, this) );
|
return( mod_will_aggro(mob, this) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user