mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #2191
2191: write automapper version, was not initialized r=heinrich5991 a=Patiga write automapper version, was not initialized Co-authored-by: patiga <patigatus21@gmail.com>
This commit is contained in:
commit
6ac77b1e88
|
@ -439,6 +439,7 @@ int CEditorMap::Save(class IStorage *pStorage, const char *pFileName)
|
|||
df.AddItem(MAPITEMTYPE_LAYER, LayerCount, sizeof(Item), &Item);
|
||||
|
||||
CMapItemAutoMapperConfig ItemAutomapper;
|
||||
ItemAutomapper.m_Version = CMapItemAutoMapperConfig::CURRENT_VERSION;
|
||||
ItemAutomapper.m_GroupId = GroupCount;
|
||||
ItemAutomapper.m_LayerId = GItem.m_NumLayers;
|
||||
ItemAutomapper.m_AutomapperConfig = pLayer->m_AutoMapperConfig;
|
||||
|
|
Loading…
Reference in a new issue