From 51e20c01804d6e4406ebb2afcdd3e2209066770e Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Sun, 27 May 2018 11:27:58 -0400 Subject: [PATCH] Fixup previous commit Accidentally removed the third parameter for `increase_movement` instead of `increase_accuracy`. Whoops! (cherry-picked from commit d03829dfd097848efaa8a6be3359b481524ebf97) --- src/units/attack_type.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/units/attack_type.cpp b/src/units/attack_type.cpp index 9252fb7d61e5..97ced0cbc8b2 100644 --- a/src/units/attack_type.cpp +++ b/src/units/attack_type.cpp @@ -309,7 +309,7 @@ bool attack_type::apply_modification(const config& cfg) } if(increase_accuracy.empty() == false) { - accuracy_ = utils::apply_modifier(accuracy_, increase_accuracy, 1); + accuracy_ = utils::apply_modifier(accuracy_, increase_accuracy); } if(set_parry.empty() == false) { @@ -325,7 +325,7 @@ bool attack_type::apply_modification(const config& cfg) } if(increase_movement.empty() == false) { - movement_used_ = utils::apply_modifier(movement_used_, increase_movement); + movement_used_ = utils::apply_modifier(movement_used_, increase_movement, 1); } if(set_attack_weight.empty() == false) {