mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-25 19:17:45 +00:00
Let other people be seen in private zones. Such as inns.
This commit is contained in:
parent
40ecbb8765
commit
60660fb284
1 changed files with 6 additions and 6 deletions
|
@ -314,8 +314,8 @@ void Sapphire::Territory::queuePacketForRange( Entity::Player& sourcePlayer, uin
|
||||||
Network::Packets::FFXIVPacketBasePtr pPacketEntry )
|
Network::Packets::FFXIVPacketBasePtr pPacketEntry )
|
||||||
{
|
{
|
||||||
auto& teriMgr = Common::Service< TerritoryMgr >::ref();
|
auto& teriMgr = Common::Service< TerritoryMgr >::ref();
|
||||||
if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) )
|
//if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) )
|
||||||
return;
|
// return;
|
||||||
|
|
||||||
auto& serverMgr = Common::Service< World::ServerMgr >::ref();
|
auto& serverMgr = Common::Service< World::ServerMgr >::ref();
|
||||||
|
|
||||||
|
@ -341,8 +341,8 @@ void Sapphire::Territory::queuePacketForZone( Entity::Player& sourcePlayer,
|
||||||
bool forSelf )
|
bool forSelf )
|
||||||
{
|
{
|
||||||
auto& teriMgr = Common::Service< TerritoryMgr >::ref();
|
auto& teriMgr = Common::Service< TerritoryMgr >::ref();
|
||||||
if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) )
|
//if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) )
|
||||||
return;
|
// return;
|
||||||
|
|
||||||
auto& serverMgr = Common::Service< World::ServerMgr >::ref();
|
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();
|
auto& teriMgr = Common::Service< TerritoryMgr >::ref();
|
||||||
// TODO: make sure gms can overwrite this. Potentially temporary solution
|
// TODO: make sure gms can overwrite this. Potentially temporary solution
|
||||||
if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) )
|
//if( teriMgr.isPrivateTerritory( getTerritoryTypeId() ) )
|
||||||
return;
|
// return;
|
||||||
|
|
||||||
auto iter = pCell->m_actors.begin();
|
auto iter = pCell->m_actors.begin();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue