Fix style properly

This commit is contained in:
patiga 2020-10-05 20:09:19 +02:00
parent 09a9ca9699
commit 95fadea794

View file

@ -1284,7 +1284,8 @@ int CEditorMap::Load(class IStorage *pStorage, const char *pFileName, int Storag
if(pItem->m_Version == CMapItemAutoMapperConfig::CURRENT_VERSION)
{
if(pItem->m_GroupId >= 0 && pItem->m_GroupId < m_lGroups.size() &&
pItem->m_LayerId >= 0 && pItem->m_LayerId < m_lGroups[pItem->m_GroupId]->m_lLayers.size()) {
pItem->m_LayerId >= 0 && pItem->m_LayerId < m_lGroups[pItem->m_GroupId]->m_lLayers.size())
{
CLayer *pLayer = m_lGroups[pItem->m_GroupId]->m_lLayers[pItem->m_LayerId];
if(pLayer->m_Type == LAYERTYPE_TILES)
{