aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/Map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/map/Map.cpp')
-rw-r--r--src/openvic-simulation/map/Map.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/openvic-simulation/map/Map.cpp b/src/openvic-simulation/map/Map.cpp
index 8f10410..728fc42 100644
--- a/src/openvic-simulation/map/Map.cpp
+++ b/src/openvic-simulation/map/Map.cpp
@@ -490,11 +490,9 @@ bool Map::load_province_definitions(std::vector<LineObject> const& lines) {
const std::string_view identifier = line.get_value_for(0);
if (!identifier.empty()) {
colour_t colour;
- if (!parse_province_colour(colour, {
- line.get_value_for(1),
- line.get_value_for(2),
- line.get_value_for(3)
- })) {
+ if (!parse_province_colour(colour,
+ { line.get_value_for(1), line.get_value_for(2), line.get_value_for(3) }
+ )) {
Logger::error("Error reading colour in province definition: ", line);
ret = false;
}