aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/Region.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/map/Region.cpp')
-rw-r--r--src/openvic-simulation/map/Region.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/openvic-simulation/map/Region.cpp b/src/openvic-simulation/map/Region.cpp
index 477dc9e..ac232df 100644
--- a/src/openvic-simulation/map/Region.cpp
+++ b/src/openvic-simulation/map/Region.cpp
@@ -26,7 +26,9 @@ void ProvinceSet::lock(bool log) {
Logger::error("Failed to lock province set - already locked!");
} else {
locked = true;
- if (log) Logger::info("Locked province set with ", size(), " provinces");
+ if (log) {
+ Logger::info("Locked province set with ", size(), " provinces");
+ }
}
}
@@ -73,6 +75,8 @@ bool Region::get_meta() const {
}
colour_t Region::get_colour() const {
- if (empty()) return FULL_COLOUR << 16;
+ if (empty()) {
+ return FULL_COLOUR << 16;
+ }
return get_provinces().front()->get_colour();
}