From 60660fb284b4ea585d500af732eded5f26f5d657 Mon Sep 17 00:00:00 2001 From: Rey Date: Sun, 8 Aug 2021 13:35:40 -0500 Subject: [PATCH] Let other people be seen in private zones. Such as inns. --- src/world/Territory/Territory.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/world/Territory/Territory.cpp b/src/world/Territory/Territory.cpp index d39d9124..b5e937af 100644 --- a/src/world/Territory/Territory.cpp +++ b/src/world/Territory/Territory.cpp @@ -314,8 +314,8 @@ void Sapphire::Territory::queuePacketForRange( Entity::Player& sourcePlayer, uin Network::Packets::FFXIVPacketBasePtr pPacketEntry ) { auto& teriMgr = Common::Service< TerritoryMgr >::ref(); - if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) ) - return; + //if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) ) + // return; auto& serverMgr = Common::Service< World::ServerMgr >::ref(); @@ -341,8 +341,8 @@ void Sapphire::Territory::queuePacketForZone( Entity::Player& sourcePlayer, bool forSelf ) { auto& teriMgr = Common::Service< TerritoryMgr >::ref(); - if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) ) - return; + //if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) ) + // return; auto& serverMgr = Common::Service< World::ServerMgr >::ref(); @@ -686,8 +686,8 @@ void Sapphire::Territory::updateInRangeSet( Entity::ActorPtr pActor, Cell* pCell auto& teriMgr = Common::Service< TerritoryMgr >::ref(); // TODO: make sure gms can overwrite this. Potentially temporary solution - if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) ) - return; + //if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) ) + // return; auto iter = pCell->m_actors.begin();