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 14:51:21 +0100
committer GitHub <noreply@github.com>2024-10-29 14:51:21 +0100
commit198e8977b1fcbb35cd9df33db2b8a06380e40f19 (patch)
tree1587242e6c8cd39a9dbb167012bec505ac2c3ad2 /src/openvic-simulation/modifier/ModifierEffectCache.cpp
parentf8dc23edac88176356edcc5b1aaeaa5ecb22798e (diff)
parent80233199b7cfee38b655a5123d0e65b1f849e345 (diff)
Merge pull request #216 from OpenVicProject/attrition_local_modifier
Support attrition modifier from terrain
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 },