aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/modifier/ModifierEffectCache.cpp
diff options
context:
space:
mode:
author wvpm <24685035+wvpm@users.noreply.github.com>2024-10-29 10:50:05 +0100
committer wvpm <24685035+wvpm@users.noreply.github.com>2024-10-29 10:50:05 +0100
commit80233199b7cfee38b655a5123d0e65b1f849e345 (patch)
tree90874c7993e610d5767c34f291adb6de75502fef /src/openvic-simulation/modifier/ModifierEffectCache.cpp
parent0f2074fc51cfab930e2a672125c1625d9a47fb06 (diff)
Support attrition modifier from terrainattrition_local_modifier
Diffstat (limited to 'src/openvic-simulation/modifier/ModifierEffectCache.cpp')
-rw-r--r--src/openvic-simulation/modifier/ModifierEffectCache.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openvic-simulation/modifier/ModifierEffectCache.cpp b/src/openvic-simulation/modifier/ModifierEffectCache.cpp
index 0e7141f..d8fb208 100644
--- a/src/openvic-simulation/modifier/ModifierEffectCache.cpp
+++ b/src/openvic-simulation/modifier/ModifierEffectCache.cpp
@@ -197,6 +197,7 @@ ModifierEffectCache::ModifierEffectCache()
local_rgo_throughput { nullptr },
local_ruling_party_support { nullptr },
local_ship_build { nullptr },
+ attrition_local { nullptr },
max_attrition { nullptr },
mine_rgo_throughput_global { nullptr },
mine_rgo_output_global { nullptr },
@@ -215,7 +216,7 @@ ModifierEffectCache::ModifierEffectCache()
/* Military Modifier Effects */
attack_leader { nullptr },
- attrition { nullptr },
+ attrition_leader { nullptr },
defence_leader { nullptr },
experience { nullptr },
morale_global { nullptr },