mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 21:07:42 +00:00
Revert 2013-02-03T19:20:26Z!jt_coding@verizon.net (gradual delayed fog clearing).
Anonymissimus did not like it, and no one else expressed an opinion.
This commit is contained in:
parent
2a5c3f5a11
commit
72087d8279
@ -1003,8 +1003,8 @@ size_t undo_list::apply_shroud_changes() const
|
|||||||
std::vector<map_location>::const_iterator step;
|
std::vector<map_location>::const_iterator step;
|
||||||
for (step = action.route.begin(); step != action.route.end(); ++step) {
|
for (step = action.route.begin(); step != action.route.end(); ++step) {
|
||||||
// Clear the shroud, collecting new sighted events.
|
// Clear the shroud, collecting new sighted events.
|
||||||
// (If the gradual clearing is too slow, change "false" to "true".)
|
// (This can be made gradual by changing "true" to "false".)
|
||||||
if ( clearer.clear_unit(*step, tm, *action.view_info, false) ) {
|
if ( clearer.clear_unit(*step, tm, *action.view_info, true) ) {
|
||||||
cleared_shroud = true;
|
cleared_shroud = true;
|
||||||
erase_to = i + 1;
|
erase_to = i + 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user