Просмотр исходного кода

read `reservedCampaignHeroes` from vmaps

godric3 1 год назад
Родитель
Сommit
355bf4ec3e
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      lib/mapping/MapFormatJson.cpp

+ 2 - 0
lib/mapping/MapFormatJson.cpp

@@ -329,6 +329,8 @@ void CMapFormatJson::serializeHeader(JsonSerializeFormat & handler)
 
 	handler.serializeStruct("defeatMessage", mapHeader->defeatMessage);
 	handler.serializeInt("defeatIconIndex", mapHeader->defeatIconIndex);
+
+	handler.serializeIdArray("reservedCampaignHeroes", mapHeader->reservedCampaignHeroes);
 }
 
 void CMapFormatJson::serializePlayerInfo(JsonSerializeFormat & handler)