mail[Wesnoth-commits] r40394 - /trunk/src/ai/composite/engine_fai.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by terraninfo on December 25, 2009 - 13:14:
Author: crab
Date: Fri Dec 25 13:14:11 2009
New Revision: 40394

URL: http://svn.gna.org/viewcvs/wesnoth?rev=40394&view=rev
Log:
remove rca_formulas stage from the list of available formula_ai stages, as it 
is not finished

Modified:
    trunk/src/ai/composite/engine_fai.cpp

Modified: trunk/src/ai/composite/engine_fai.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai/composite/engine_fai.cpp?rev=40394&r1=40393&r2=40394&view=diff
==============================================================================
--- trunk/src/ai/composite/engine_fai.cpp (original)
+++ trunk/src/ai/composite/engine_fai.cpp Fri Dec 25 13:14:11 2009
@@ -104,9 +104,12 @@
        }
        const std::string &name = cfg["name"];
        stage_ptr st_ptr;
-       if (name=="rca_formulas") {
-               st_ptr = stage_ptr(new 
stage_rca_formulas(context,cfg,formula_ai_));
-       } else if (name=="side_formulas") {
+
+       //dropped from 1.8, as it's not ready
+       //if (name=="rca_formulas") {
+       //      st_ptr = stage_ptr(new 
stage_rca_formulas(context,cfg,formula_ai_));
+
+       if (name=="side_formulas") {
                st_ptr = stage_ptr(new 
stage_side_formulas(context,cfg,formula_ai_));
        } else if (name=="unit_formulas") {
                st_ptr = stage_ptr(new 
stage_unit_formulas(context,cfg,formula_ai_));




Related Messages


Powered by MHonArc, Updated Fri Dec 25 13:20:11 2009