1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

read reservedCampaignHeroes from vmaps

This commit is contained in:
godric3
2024-08-22 16:52:35 +02:00
parent ff33fbd3a0
commit 355bf4ec3e

View File

@@ -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)