mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-06-07 16:47:44 +00:00
update
This commit is contained in:
parent
2902948ff1
commit
942616ccd3
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue