Made unit to hideable by others units (bug #10877)
This commit is contained in:
parent
a9e987dd55
commit
9bbc46e150
2 changed files with 3 additions and 3 deletions
|
@ -40,6 +40,7 @@ Version 1.3.14+svn:
|
|||
* miscellaneous and bug fixes:
|
||||
* Fixed turn timer and end_turn commands order (bug #10849)
|
||||
* Fixed boost test compile with 1.34.1
|
||||
* Made unit to hideable by others units (bug #10877)
|
||||
* Make wesnoth work properly again if the datadir contains ../
|
||||
* Fixed some type of addon not being uninstallable (bug #10788)
|
||||
* converted NO_MAP_DATA to new map format
|
||||
|
|
|
@ -694,9 +694,8 @@ void unit::new_turn()
|
|||
end_turn_ = false;
|
||||
movement_ = total_movement();
|
||||
attacks_left_ = max_attacks_;
|
||||
if(has_ability_type("hides")) {
|
||||
set_state("hides","yes");
|
||||
}
|
||||
set_state("hides","yes");
|
||||
|
||||
if(incapacitated()) {
|
||||
set_attacks(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue