mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-19 21:29:06 +00:00
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:
parent
3e3d353a54
commit
51e20c0180
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user