mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Fixed "Long Live the King", 1st scenario victory condition
This commit is contained in:
@ -870,6 +870,11 @@ void CMapPatcher::readPatchData()
|
||||
{
|
||||
JsonDeserializer handler(mapObjectResolver.get(), input);
|
||||
readTriggeredEvents(handler);
|
||||
|
||||
handler.serializeInt("defeatIconIndex", mapHeader->defeatIconIndex);
|
||||
handler.serializeInt("victoryIconIndex", mapHeader->victoryIconIndex);
|
||||
handler.serializeStruct("victoryString", mapHeader->victoryMessage);
|
||||
handler.serializeStruct("defeatString", mapHeader->defeatMessage);
|
||||
}
|
||||
|
||||
///CMapLoaderJson
|
||||
|
Reference in New Issue
Block a user