mail[Wesnoth-commits] r28422 - /trunk/src/pathfind.cpp


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

Header


Content

Posted by koraq on August 10, 2008 - 12:53:
Author: mordante
Date: Sun Aug 10 12:53:11 2008
New Revision: 28422

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28422&view=rev
Log:
Initialize all members.

Modified:
    trunk/src/pathfind.cpp

Modified: trunk/src/pathfind.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/pathfind.cpp?rev=28422&r1=28421&r2=28422&view=diff
==============================================================================
--- trunk/src/pathfind.cpp (original)
+++ trunk/src/pathfind.cpp Sun Aug 10 12:53:11 2008
@@ -202,13 +202,11 @@
        }
 }
 
-paths::paths(gamemap const &map,
-             unit_map const &units,
-             gamemap::location const &loc,
-             std::vector<team> const &teams,
-            bool force_ignore_zoc,
-             bool allow_teleport, const team &viewing_team,
-                  int additional_turns, bool see_all, bool ignore_units)
+paths::paths(gamemap const &map, unit_map const &units, 
+               gamemap::location const &loc, std::vector<team> const &teams, 
+               bool force_ignore_zoc, bool allow_teleport, const team 
&viewing_team, 
+               int additional_turns, bool see_all, bool ignore_units) :
+       routes()
 {
        const unit_map::const_iterator i = units.find(loc);
        if(i == units.end()) {




Related Messages


Powered by MHonArc, Updated Sun Aug 10 13:41:11 2008