mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 09:35:37 +00:00
parent
6322ca8bc8
commit
0abed71f75
@ -1207,9 +1207,11 @@ bool attack::perform_hit(bool attacker_turn, statistics_attack_context& stats)
|
||||
// for that unit, but let the other unit continue
|
||||
if (attacker_stats->weapon == nullptr){
|
||||
attacker.n_attacks_ = 0;
|
||||
attacker.orig_attacks_ = 0;
|
||||
}
|
||||
if (defender_stats->weapon == nullptr){
|
||||
defender.n_attacks_ = 0;
|
||||
defender.orig_attacks_ = 0;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user