mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 03:19:51 +00:00
":shroud" stop shrouding your units (auto-clear visible area)
This commit is contained in:
parent
df266dfd8b
commit
129e2347f2
@ -174,7 +174,8 @@ Version 1.5.0-svn:
|
||||
* clean up gcc 4.3 warnings so the game now builds on fedora rawhide
|
||||
with warnings treated as errors. A few bugs were found in the
|
||||
process as well.
|
||||
* "fog" and "shroud" debug commands now also update the minimap
|
||||
* "fog" and "shroud" debug commands now also update the minimap, and
|
||||
"shroud" stop shrouding your units.
|
||||
|
||||
Version 1.4:
|
||||
* language and i18n:
|
||||
|
@ -2831,6 +2831,7 @@ private:
|
||||
}
|
||||
void console_handler::do_shroud() {
|
||||
menu_handler_.teams_[team_num_ - 1].set_shroud( !menu_handler_.teams_[team_num_ - 1].uses_shroud() );
|
||||
menu_handler_.clear_shroud(team_num_);
|
||||
menu_handler_.gui_->recalculate_minimap();
|
||||
menu_handler_.gui_->redraw_everything();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user