mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-30 08:07:46 +00:00
fix issue with instance content map
This commit is contained in:
parent
f65fb8fba1
commit
83e7502b8b
1 changed files with 2 additions and 2 deletions
|
@ -365,10 +365,10 @@ TerritoryPtr TerritoryMgr::createInstanceContent( uint32_t contentFinderId )
|
|||
|
||||
Logger::debug( "Starting instance for InstanceContent id: {0} ({1})", contentFinderId, name );
|
||||
|
||||
auto pZone = make_InstanceContent( pInstanceContent, pContentFinderCondition, instanceContentData.TerritoryType, getNextInstanceId(), " ", name, contentFinderId );
|
||||
auto pZone = make_InstanceContent( pInstanceContent, pContentFinderCondition, instanceContentData.TerritoryType, getNextInstanceId(), " ", name, pContentFinderCondition->data().InstanceContentId );
|
||||
pZone->init();
|
||||
|
||||
m_instanceContentIdToInstanceMap[ contentFinderId ][ pZone->getGuId() ] = pZone;
|
||||
m_instanceContentIdToInstanceMap[ pContentFinderCondition->data().InstanceContentId ][ pZone->getGuId() ] = pZone;
|
||||
m_guIdToTerritoryPtrMap[ pZone->getGuId() ] = pZone;
|
||||
m_instanceZoneSet.insert( pZone );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue