aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/pop/Culture.cpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-08-10 12:32:53 +0200
committer Hop311 <hop3114@gmail.com>2023-08-10 12:32:53 +0200
commit170ee25469322d25931050813a779dfbc2eaa4b0 (patch)
tree42bc9cc4a0e33ff1f1a64ae5e23edc4a52ca4320 /src/openvic/pop/Culture.cpp
parent8a08be3e7e8477973e243716d431ad7117acfa43 (diff)
Added distributions for pop type and culture
Diffstat (limited to 'src/openvic/pop/Culture.cpp')
-rw-r--r--src/openvic/pop/Culture.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/openvic/pop/Culture.cpp b/src/openvic/pop/Culture.cpp
index 8f72f20..b683804 100644
--- a/src/openvic/pop/Culture.cpp
+++ b/src/openvic/pop/Culture.cpp
@@ -18,8 +18,7 @@ GraphicalCultureType const& CultureGroup::get_unit_graphical_culture_type() cons
Culture::Culture(CultureGroup const& new_group, std::string const& new_identifier,
colour_t new_colour, name_list_t const& new_first_names, name_list_t const& new_last_names)
: group { new_group },
- HasIdentifier { new_identifier },
- HasColour { new_colour, true },
+ HasIdentifierAndColour { new_identifier, new_colour, true },
first_names { new_first_names },
last_names { new_last_names } {
}