mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Default all roads to random (optional)
This commit is contained in:
@@ -555,7 +555,7 @@ ZoneConnection::ZoneConnection():
|
||||
zoneB(-1),
|
||||
guardStrength(0),
|
||||
connectionType(rmg::EConnectionType::GUARDED),
|
||||
hasRoad(rmg::ERoadOption::ROAD_TRUE)
|
||||
hasRoad(rmg::ERoadOption::ROAD_RANDOM)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -639,9 +639,9 @@ void ZoneConnection::serializeJson(JsonSerializeFormat & handler)
|
||||
|
||||
static const std::vector<std::string> roadOptions =
|
||||
{
|
||||
"random",
|
||||
"true",
|
||||
"false",
|
||||
"random"
|
||||
"false"
|
||||
};
|
||||
|
||||
if (handler.saving)
|
||||
|
||||
Reference in New Issue
Block a user