From 0350b4dc229fd8d5aba7e5a8242fc1d0619c8630 Mon Sep 17 00:00:00 2001 From: NotAdam Date: Tue, 7 May 2019 22:16:18 +1000 Subject: [PATCH] remove the code restricting ic territories from being created --- src/world/Manager/TerritoryMgr.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/world/Manager/TerritoryMgr.cpp b/src/world/Manager/TerritoryMgr.cpp index 6c3d2769..fb5fd0ca 100644 --- a/src/world/Manager/TerritoryMgr.cpp +++ b/src/world/Manager/TerritoryMgr.cpp @@ -261,8 +261,9 @@ Sapphire::ZonePtr Sapphire::World::Manager::TerritoryMgr::createTerritoryInstanc if( !isValidTerritory( territoryTypeId ) ) return nullptr; - if( isInstanceContentTerritory( territoryTypeId ) ) - return nullptr; +// nb: disabled for now because there's not a real reason to have this constraint, makes testing some stuff easier too +// if( isInstanceContentTerritory( territoryTypeId ) ) +// return nullptr; auto pExdData = framework()->get< Data::ExdDataGenerated >(); auto pTeri = getTerritoryDetail( territoryTypeId );