From 355bf4ec3e5a6b915050a53340fbc9297f29b73f Mon Sep 17 00:00:00 2001 From: godric3 Date: Thu, 22 Aug 2024 16:52:35 +0200 Subject: [PATCH] read `reservedCampaignHeroes` from vmaps --- lib/mapping/MapFormatJson.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/mapping/MapFormatJson.cpp b/lib/mapping/MapFormatJson.cpp index 43aa91fa7..c4587ce87 100644 --- a/lib/mapping/MapFormatJson.cpp +++ b/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)