Core/MMaps: Allow dynamic tile building for M2 models

This commit is contained in:
Macsimka
2026-02-21 18:56:27 +01:00
committed by Shauren
parent ad0683315a
commit 5f0491c8d3

View File

@@ -277,7 +277,7 @@ std::weak_ptr<DynamicTileBuilder::AsyncTileResult> DynamicTileBuilder::BuildTile
std::vector<std::shared_ptr<GameObjectModel const>> gameObjectModelReferences; // hold strong refs to models
for (GameObjectModel const* gameObjectModel : m_map->GetGameObjectModelsInGrid(tileX, tileY))
{
if (!gameObjectModel->IsMapObject() || !gameObjectModel->IsIncludedInNavMesh())
if (!gameObjectModel->IsIncludedInNavMesh())
continue;
std::shared_ptr<VMAP::WorldModel const> worldModel = gameObjectModel->GetWorldModel();