mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 14:52:26 +00:00
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
@ -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…
x
Reference in New Issue
Block a user