Fix a bug reported in forum about unstoned units...
...not directly having their attacks back. Attacks_left() already returned 0 for stoned unit, no need to set it to 0 each turn.
This commit is contained in:
parent
1782658a29
commit
26e1fa1576
1 changed files with 0 additions and 3 deletions
|
@ -678,9 +678,6 @@ void unit::new_turn()
|
|||
attacks_left_ = max_attacks_;
|
||||
set_state("hides","yes");
|
||||
|
||||
if(incapacitated()) {
|
||||
set_attacks(0);
|
||||
}
|
||||
if (hold_position_) {
|
||||
end_turn_ = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue