Author: crab
Date: Sat Apr 18 18:17:34 2009
New Revision: 35016
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35016&view=rev
Log:
Document the purpose of an old hack.
Modified:
trunk/src/ai/ai.cpp
Modified: trunk/src/ai/ai.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai/ai.cpp?rev=35016&r1=35015&r2=35016&view=diff
==============================================================================
--- trunk/src/ai/ai.cpp (original)
+++ trunk/src/ai/ai.cpp Sat Apr 18 18:17:34 2009
@@ -1086,6 +1086,7 @@
if(leader == units_.end()) {
return;
}
+ // if leaders move is interrupted while we were trying
to get to the keep, then do another move , but this next move should not be a
recruiting, even if we originally wanted to recruit"
if (leader->first != before
&& leader->second.movement_left() > 0
&& recruiting_preferred_)
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits