parent
6322ca8bc8
commit
0abed71f75
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue