Fixup previous commit

Accidentally removed the third parameter for `increase_movement` instead of `increase_accuracy`. Whoops!

(cherry-picked from commit d03829dfd097848efaa8a6be3359b481524ebf97)
This commit is contained in:
Celtic Minstrel 2018-05-27 11:27:58 -04:00 committed by GitHub
parent 3e3d353a54
commit 51e20c0180

View File

@ -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) {