Author: esr
Date: Thu Oct 23 06:21:40 2008
New Revision: 30326
URL: http://svn.gna.org/viewcvs/wesnoth?rev=30326&view=rev
Log:
More suppression of dubious error messages.
Modified:
trunk/src/ai_move.cpp
Modified: trunk/src/ai_move.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai_move.cpp?rev=30326&r1=30325&r2=30326&view=diff
==============================================================================
--- trunk/src/ai_move.cpp (original)
+++ trunk/src/ai_move.cpp Thu Oct 23 06:21:40 2008
@@ -158,7 +158,7 @@
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));
}
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits