diff --git a/src/game/client/components/maplayers.cpp b/src/game/client/components/maplayers.cpp index fed82e6e1..11f7ee3a8 100644 --- a/src/game/client/components/maplayers.cpp +++ b/src/game/client/components/maplayers.cpp @@ -341,6 +341,8 @@ void CMapLayers::OnMapLoad() } m_TileLayerVisuals.clear(); } + CServerInfo Info; + Client()->GetServerInfo(&Info); bool PassedGameLayer = false; //prepare all visuals for all tile layers @@ -493,7 +495,7 @@ void CMapLayers::OnMapLoad() { Index = ((CTile*)pTiles)[y*pTMap->m_Width+x].m_Index; Flags = ((CTile*)pTiles)[y*pTMap->m_Width+x].m_Flags; - if(!IsValidGameTile(Index)) continue; + if(IsDDNet(&Info) && !IsValidGameTile(Index)) continue; } if(IsFrontLayer) {