Skip to content

Commit

Permalink
Fixup previous commit
Browse files Browse the repository at this point in the history
Accidentally removed the third parameter for `increase_movement` instead of `increase_accuracy`. Whoops!

(cherry-picked from commit d03829d)
  • Loading branch information
CelticMinstrel committed Oct 7, 2018
1 parent 3e3d353 commit 51e20c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/units/attack_type.cpp
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit 51e20c0

Please sign in to comment.