mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-29 23:57:46 +00:00
linux are you happy yet
This commit is contained in:
parent
1db2c0a14e
commit
83428a56d0
1 changed files with 1 additions and 2 deletions
|
@ -122,8 +122,7 @@ public:
|
|||
|
||||
void onPlayerDeath( World::Quest& quest, Sapphire::Entity::Player& player ) override
|
||||
{
|
||||
auto& teriMgr = Common::Service< Sapphire::World::Manager::TerritoryMgr >::ref();
|
||||
auto& instance = teriMgr.getTerritoryByGuId( player.getTerritoryId() );
|
||||
auto instance = teriMgr().getTerritoryByGuId( player.getTerritoryId() );
|
||||
|
||||
auto enem0 = instance->getActiveBNpcByLayoutIdAndTriggerOwner( Enemy0, player.getId() );
|
||||
auto enem1 = instance->getActiveBNpcByLayoutIdAndTriggerOwner( Enemy1, player.getId() );
|
||||
|
|
Loading…
Add table
Reference in a new issue