aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/pop/Religion.cpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-08-10 12:59:31 +0200
committer GitHub <noreply@github.com>2023-08-10 12:59:31 +0200
commit538e7dc4ec44c4d09a6a654f10229e6392653a50 (patch)
tree42bc9cc4a0e33ff1f1a64ae5e23edc4a52ca4320 /src/openvic/pop/Religion.cpp
parent8a08be3e7e8477973e243716d431ad7117acfa43 (diff)
parent170ee25469322d25931050813a779dfbc2eaa4b0 (diff)
Merge pull request #10 from OpenVicProject/distributions
Added distributions for pop type and culture
Diffstat (limited to 'src/openvic/pop/Religion.cpp')
-rw-r--r--src/openvic/pop/Religion.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/openvic/pop/Religion.cpp b/src/openvic/pop/Religion.cpp
index a5b2abb..f3d3341 100644
--- a/src/openvic/pop/Religion.cpp
+++ b/src/openvic/pop/Religion.cpp
@@ -9,8 +9,7 @@ ReligionGroup::ReligionGroup(std::string const& new_identifier) : HasIdentifier
Religion::Religion(ReligionGroup const& new_group, std::string const& new_identifier,
colour_t new_colour, icon_t new_icon, bool new_pagan)
: group { new_group },
- HasIdentifier { new_identifier },
- HasColour { new_colour, true },
+ HasIdentifierAndColour { new_identifier, new_colour, true },
icon { new_icon },
pagan { new_pagan } {
assert(icon > 0);