mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-03-23 00:46:59 +00:00
Update dZoneManager/dZoneManager.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -368,9 +368,7 @@ void dZoneManager::BuildSceneGraph() {
|
|||||||
const auto& scenes = m_pZone->GetScenes();
|
const auto& scenes = m_pZone->GetScenes();
|
||||||
for (const auto& [sceneID, sceneRef] : scenes) {
|
for (const auto& [sceneID, sceneRef] : scenes) {
|
||||||
// Ensure every scene has an entry, even if it has no transitions
|
// Ensure every scene has an entry, even if it has no transitions
|
||||||
if (m_SceneAdjacencyList.find(sceneID) == m_SceneAdjacencyList.end()) {
|
m_SceneAdjacencyList.try_emplace(sceneID, std::vector<LWOSCENEID>());
|
||||||
m_SceneAdjacencyList[sceneID] = std::vector<LWOSCENEID>();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Build adjacency list from scene transitions
|
// Build adjacency list from scene transitions
|
||||||
|
|||||||
Reference in New Issue
Block a user