mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 04:51:23 +00:00
More suppression of dubious error messages.
This commit is contained in:
parent
75176e1c96
commit
cd65c93837
@ -158,7 +158,7 @@ std::vector<ai::target> ai::find_targets(unit_map::const_iterator leader, const
|
||||
if(get_village) {
|
||||
double value = current_team().village_value();
|
||||
value *= 1.0 - static_cast<double>(distance_between(*t,leader->first))/corner_distance;
|
||||
ERR_AI << "found village target... " << *t << " with value: " << value << " distance: " << static_cast<double>(distance_between(*t,leader->first)) << "\n";
|
||||
DBG_AI << "found village target... " << *t << " with value: " << value << " distance: " << static_cast<double>(distance_between(*t,leader->first)) << "\n";
|
||||
targets.push_back(target(*t,value,target::VILLAGE));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user