mail[Wesnoth-commits] r33227 - /trunk/src/formula_ai.cpp


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

Header


Content

Posted by koraq on March 01, 2009 - 15:11:
Author: mordante
Date: Sun Mar  1 15:11:12 2009
New Revision: 33227

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33227&view=rev
Log:
Remove an unused variable.

Modified:
    trunk/src/formula_ai.cpp

Modified: trunk/src/formula_ai.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/formula_ai.cpp?rev=33227&r1=33226&r2=33227&view=diff
==============================================================================
--- trunk/src/formula_ai.cpp (original)
+++ trunk/src/formula_ai.cpp Sun Mar  1 15:11:12 2009
@@ -1640,8 +1640,6 @@
             paths::route route = a_star_search(src, destination, 1000.0, 
&calc,
                     get_info().map.w(), get_info().map.h(), 
&allowed_teleports);
 
-            int movement = unit_it->second.movement_left();
-
             if( route.steps.size() == 0 ) {
                 emergency_path_calculator em_calc(unit_it->second, 
get_info().map);
 




Related Messages


Powered by MHonArc, Updated Sun Mar 01 15:40:19 2009