mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-07-22 11:17:44 +00:00
Code compiles now...
This commit is contained in:
parent
9b2ebd5d3e
commit
cfa81f0df5
2 changed files with 3 additions and 2 deletions
|
@ -449,7 +449,7 @@ void BNpc::hateListClear()
|
|||
if( isInRangeSet( listEntry->m_pChara ) )
|
||||
{
|
||||
if( listEntry->m_pChara->isPlayer() )
|
||||
notifyPlayerDeaggro( listEntry->m_pChara )
|
||||
BNpc::notifyPlayerDeaggro( listEntry->m_pChara );
|
||||
}
|
||||
}
|
||||
m_hateList.clear();
|
||||
|
@ -630,7 +630,7 @@ void BNpc::deaggro( const CharaPtr& pChara )
|
|||
hateListRemove( pChara );
|
||||
|
||||
if( pChara->isPlayer() )
|
||||
notifyPlayerDeaggro(pChara)
|
||||
notifyPlayerDeaggro( pChara );
|
||||
}
|
||||
|
||||
void BNpc::notifyPlayerDeaggro(const CharaPtr& pChara)
|
||||
|
|
|
@ -115,6 +115,7 @@ namespace Sapphire::Entity
|
|||
|
||||
void aggro( const CharaPtr& pChara );
|
||||
void deaggro( const CharaPtr& pChara );
|
||||
void notifyPlayerDeaggro( const CharaPtr& pChara );
|
||||
|
||||
void update( uint64_t tickCount ) override;
|
||||
void onTick() override;
|
||||
|
|
Loading…
Add table
Reference in a new issue