CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     David White <[EMAIL PROTECTED]> 04/10/31 14:45:47

Modified files:
        src            : pathfind.cpp 

Log message:
        removed unnecessary assertion

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/pathfind.cpp.diff?tr1=1.44&tr2=1.45&r1=text&r2=text

Patches:
Index: wesnoth/src/pathfind.cpp
diff -u wesnoth/src/pathfind.cpp:1.44 wesnoth/src/pathfind.cpp:1.45
--- wesnoth/src/pathfind.cpp:1.44       Fri Oct 15 00:16:31 2004
+++ wesnoth/src/pathfind.cpp    Sun Oct 31 14:45:45 2004
@@ -1,4 +1,4 @@
-/* $Id: pathfind.cpp,v 1.44 2004/10/15 00:16:31 Sirp Exp $ */
+/* $Id: pathfind.cpp,v 1.45 2004/10/31 14:45:45 Sirp Exp $ */
 /*
    Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -340,8 +340,6 @@
        //supposing we had 2 movement left, and wanted to move onto a hex which
        //takes 3 movement, it's going to cost us 5 movement in total, since we
        //sacrifice this turn's movement. Take that into account here.
-       assert(so_far == double(int(so_far)));
-
        const int current_cost(static_cast<int>(so_far));
 
        const int starting_movement = unit_.movement_left();


Reply via email to