1
Fork 0
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:
Kooper 2025-07-19 19:44:27 +02:00
parent 9b2ebd5d3e
commit cfa81f0df5
2 changed files with 3 additions and 2 deletions

View file

@ -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)

View file

@ -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;