mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-30 16:17:46 +00:00
Update BNpc.cpp
This commit is contained in:
parent
9dbd53d9c0
commit
2dca8f9f72
1 changed files with 2 additions and 2 deletions
|
@ -523,8 +523,8 @@ void Sapphire::Entity::BNpc::update( int64_t currTime )
|
|||
|
||||
if( distance > minActorDistance )
|
||||
{
|
||||
auto pTeriMgr = m_pFw->get< World::Manager::TerritoryMgr >();
|
||||
if ( ( currTime - m_lastAttack ) > 600 && pTeriMgr->isDefaultTerritory( getCurrentZone()->getTerritoryTypeId() ) )
|
||||
//auto pTeriMgr = m_pFw->get< World::Manager::TerritoryMgr >();
|
||||
//if ( ( currTime - m_lastAttack ) > 600 && pTeriMgr->isDefaultTerritory( getCurrentZone()->getTerritoryTypeId() ) )
|
||||
moveTo( pHatedActor->getPos() );
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue