1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-06-07 08:37:45 +00:00
This commit is contained in:
AriAvery 2019-02-01 10:07:04 +01:00
parent 2902948ff1
commit 942616ccd3

View file

@ -648,7 +648,7 @@ void Sapphire::Entity::BNpc::checkAggro()
if( distance < range )
{
if(( !isBlind() && isDeaf() ) || ( isBlind() && isFacing( pClosestChara, 40 ) ) || ( isDeaf() && pClosestChara->getAsPlayer()->isRunning() ) )
if( ( !isBlind() && !isDeaf() ) || ( isBlind() && pClosestChara->getAsPlayer()->isRunning() ) || ( isDeaf() && isFacing( pClosestChara, 40 ) ) )
aggro( pClosestChara );
}
}