mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
map editor: option to set random town same as player faction
This commit is contained in:
@@ -1134,6 +1134,7 @@ void CGTownInstance::serializeJsonOptions(JsonSerializeFormat & handler)
|
||||
eventsHandler.syncSize(events, JsonNode::JsonType::DATA_VECTOR);
|
||||
eventsHandler.serializeStruct(events);
|
||||
}
|
||||
handler.serializeId("alignmentToPlayer", alignmentToPlayer, PlayerColor::NEUTRAL);
|
||||
}
|
||||
|
||||
const CFaction * CGTownInstance::getFaction() const
|
||||
|
Reference in New Issue
Block a user