diff options
Diffstat (limited to 'src/openvic-simulation/pop')
-rw-r--r-- | src/openvic-simulation/pop/Pop.cpp | 2 | ||||
-rw-r--r-- | src/openvic-simulation/pop/Pop.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/pop/Pop.cpp b/src/openvic-simulation/pop/Pop.cpp index 0f0de69..5780450 100644 --- a/src/openvic-simulation/pop/Pop.cpp +++ b/src/openvic-simulation/pop/Pop.cpp @@ -141,7 +141,7 @@ void Pop::set_location(ProvinceInstance const& new_location) { } void Pop::update_gamestate( - DefineManager const& define_manager, CountryInstance const* owner, fixed_point_t const& pop_size_per_regiment_multiplier + DefineManager const& define_manager, CountryInstance const* owner, const fixed_point_t pop_size_per_regiment_multiplier ) { if (type->get_can_be_recruited()) { if ( diff --git a/src/openvic-simulation/pop/Pop.hpp b/src/openvic-simulation/pop/Pop.hpp index 88c397a..f808740 100644 --- a/src/openvic-simulation/pop/Pop.hpp +++ b/src/openvic-simulation/pop/Pop.hpp @@ -101,7 +101,7 @@ namespace OpenVic { void update_gamestate( DefineManager const& define_manager, CountryInstance const* owner, - fixed_point_t const& pop_size_per_regiment_multiplier + const fixed_point_t pop_size_per_regiment_multiplier ); void add_rgo_owner_income(const fixed_point_t income); |