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!
  • Loading branch information
CelticMinstrel committed May 27, 2018
1 parent 1413dfd commit d03829d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/units/attack_type.cpp
Expand Up @@ -324,7 +324,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 @@ -340,7 +340,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 d03829d

Please sign in to comment.