aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/pop/Religion.cpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-07-26 22:37:25 +0200
committer Hop311 <hop3114@gmail.com>2023-07-26 22:37:25 +0200
commit532c9be36ca03ee13c92ca7d895aaf5b42eeb034 (patch)
treea91587787bf6742168279ac41f77b9ebabe0dffe /src/openvic/pop/Religion.cpp
parent0422f9fbb06e911a7cf6da11045b47cdda0d2d06 (diff)
Added pops to provinces
Diffstat (limited to 'src/openvic/pop/Religion.cpp')
-rw-r--r--src/openvic/pop/Religion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic/pop/Religion.cpp b/src/openvic/pop/Religion.cpp
index dddabf4..a5b2abb 100644
--- a/src/openvic/pop/Religion.cpp
+++ b/src/openvic/pop/Religion.cpp
@@ -48,7 +48,7 @@ ReligionGroup const* ReligionManager::get_religion_group_by_identifier(std::stri
return religion_groups.get_item_by_identifier(identifier);
}
-return_t ReligionManager::add_religion(ReligionGroup const* group, std::string const& identifier, colour_t colour, Religion::icon_t icon, bool pagan) {
+return_t ReligionManager::add_religion(std::string const& identifier, colour_t colour, ReligionGroup const* group, Religion::icon_t icon, bool pagan) {
if (!religion_groups.is_locked()) {
Logger::error("Cannot register religions until religion groups are locked!");
return FAILURE;