mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 05:57:45 +00:00
update for Empyreum
This commit is contained in:
parent
0cfb238472
commit
569fe373d1
4 changed files with 1107 additions and 5 deletions
File diff suppressed because it is too large
Load diff
|
@ -77,8 +77,8 @@ bool Sapphire::World::Manager::HousingMgr::init()
|
|||
Logger::info( "HousingMgr: Caching housing land init data" );
|
||||
//LAND_SEL_ALL
|
||||
|
||||
// 18 wards per territory, 4 territories
|
||||
m_landCache.reserve( 18 * 4 );
|
||||
// 18 wards per territory, 5 territories
|
||||
m_landCache.reserve( 18 * 5 );
|
||||
|
||||
initLandCache();
|
||||
|
||||
|
|
|
@ -502,6 +502,10 @@ Sapphire::TerritoryPtr Sapphire::World::Manager::TerritoryMgr::findOrCreateHousi
|
|||
territoryTypeId = 649;
|
||||
break;
|
||||
|
||||
case 979: // Empyreum
|
||||
territoryTypeId = 980;
|
||||
break;
|
||||
|
||||
default:
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ bool Sapphire::HousingZone::init()
|
|||
housingIndex = 2;
|
||||
else if( m_territoryTypeId == 641 )
|
||||
housingIndex = 3;
|
||||
else if (m_territoryTypeId == 979 )
|
||||
else if( m_territoryTypeId == 979 )
|
||||
housingIndex = 4;
|
||||
|
||||
auto& exdData = Common::Service< Data::ExdDataGenerated >::ref();
|
||||
|
|
Loading…
Add table
Reference in a new issue