mail[Wesnoth-commits] r34342 - in /trunk: changelog src/ai.cpp


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

Header


Content

Posted by terraninfo on March 31, 2009 - 19:10:
Author: crab
Date: Tue Mar 31 19:10:32 2009
New Revision: 34342

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34342&view=rev
Log:
Changed interaction between default AI an Formula AI - made default AI not 
fallback to formula AI

Modified:
    trunk/changelog
    trunk/src/ai.cpp

Modified: trunk/changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=34342&r1=34341&r2=34342&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Tue Mar 31 19:10:32 2009
@@ -9,6 +9,7 @@
    * Changed AI Lifecycle handling. Console AI is now persistent between 
      invocations.
    * Added AI Arena test map to test AIs in interactive mode ( 
ai_arena_small )
+   * Changed interaction between default AI an Formula AI - made default AI 
not fallback to formula AI
  * Editor2:
    * New feature: exporting of selection coordinates to system clipboard
    * Made auto terrain transition mode tri-state: on (editor2's on), partial

Modified: trunk/src/ai.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai.cpp?rev=34342&r1=34341&r2=34342&view=diff
==============================================================================
--- trunk/src/ai.cpp (original)
+++ trunk/src/ai.cpp Tue Mar 31 19:10:32 2009
@@ -968,14 +968,6 @@
        invalidate_defensive_position_cache();
 
        raise_user_interact();
-
-       // Formula AI is first going to move everything that it can
-
-       if (master_) {
-               if (formula_ai_ != NULL) {
-                       formula_ai_->play_turn();
-               }
-       }
 
        typedef paths::route route;
 




Related Messages


Powered by MHonArc, Updated Tue Mar 31 19:20:41 2009