mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-08 15:33:53 +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
|
||||
if(CheckLosFN(mob)) {
|
||||
|
||||
// Aggro
|
||||
#if EQDEBUG>=6
|
||||
logger.LogDebug(EQEmuLogSys::General, "Check aggro for %s target %s.", GetName(), mob->GetName());
|
||||
#endif
|
||||
logger.LogDebugType(EQEmuLogSys::Detail, EQEmuLogSys::Aggro, "Check aggro for %s target %s.", GetName(), mob->GetName());
|
||||
|
||||
return( mod_will_aggro(mob, this) );
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user