Author: crab
Date: Sat Feb 13 00:00:18 2010
New Revision: 41175
URL: http://svn.gna.org/viewcvs/wesnoth?rev=41175&view=rev
Log:
fix problem in ai_controller - focus on defeatning enemy side was not working
as expected. [goal]name=protect expects a SLF, not a SUF
Modified:
trunk/data/core/macros/ai_controller.cfg
Modified: trunk/data/core/macros/ai_controller.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/ai_controller.cfg?rev=41175&r1=41174&r2=41175&view=diff
==============================================================================
--- trunk/data/core/macros/ai_controller.cfg (original)
+++ trunk/data/core/macros/ai_controller.cfg Sat Feb 13 00:00:18 2010
@@ -468,7 +468,9 @@
name=protect
value=20
[criteria]
-
side=$temp_i
+ [filter]
+
side=$temp_i
+ [/filter]
[/criteria]
[/goal]
)}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits