aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/State.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/map/State.cpp')
-rw-r--r--src/openvic-simulation/map/State.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/openvic-simulation/map/State.cpp b/src/openvic-simulation/map/State.cpp
index a13c271..0987c50 100644
--- a/src/openvic-simulation/map/State.cpp
+++ b/src/openvic-simulation/map/State.cpp
@@ -98,9 +98,9 @@ void State::update_gamestate() {
industrial_power = total_factory_levels_in_state * workforce_scalar;
}
-void State::state_tick(const Date today, ModifierEffectCache const& modifier_effect_cache) {
+void State::state_tick(const Date today) {
for (ProvinceInstance* province : provinces) {
- province->province_tick(today, modifier_effect_cache);
+ province->province_tick(today);
}
}
@@ -126,9 +126,9 @@ void StateSet::update_gamestate() {
}
}
-void StateSet::tick(const Date today, ModifierEffectCache const& modifier_effect_cache) {
+void StateSet::tick(const Date today) {
for (State& state : states) {
- state.state_tick(today, modifier_effect_cache);
+ state.state_tick(today);
}
}
@@ -233,8 +233,8 @@ void StateManager::update_gamestate() {
}
}
-void StateManager::tick(const Date today, ModifierEffectCache const& modifier_effect_cache) {
+void StateManager::tick(const Date today) {
for (StateSet& state_set : state_sets) {
- state_set.tick(today, modifier_effect_cache);
+ state_set.tick(today);
}
} \ No newline at end of file