stratagus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Stratagus-CVS] stratagus/src/pathfinder astar.c


From: ludovic pollet
Subject: [Stratagus-CVS] stratagus/src/pathfinder astar.c
Date: Tue, 11 Nov 2003 10:32:23 -0500

CVSROOT:        /cvsroot/stratagus
Module name:    stratagus
Branch:         
Changes by:     ludovic pollet <address@hidden> 03/11/11 10:32:23

Modified files:
        src/pathfinder : astar.c 

Log message:
        Fixed mr-russ typo :-)

Patches:
Index: stratagus/src/pathfinder/astar.c
diff -u stratagus/src/pathfinder/astar.c:1.53 
stratagus/src/pathfinder/astar.c:1.54
--- stratagus/src/pathfinder/astar.c:1.53       Tue Nov 11 04:57:33 2003
+++ stratagus/src/pathfinder/astar.c    Tue Nov 11 10:32:22 2003
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: astar.c,v 1.53 2003/11/11 09:57:33 mr-russ Exp $
+//     $Id: astar.c,v 1.54 2003/11/11 15:32:22 pludov Exp $
 
 //@{
 
@@ -360,7 +360,7 @@
        }
     }
 
-    for (x = gx; x < gx + gy && !minrange; ++x) {
+    for (x = gx; x < gx + gw && !minrange; ++x) {
        for (y = gy; y < gy + gh; ++y) {
            if (x < 0 || x >= TheMap.Width || y < 0 || y >= TheMap.Height) {
                continue;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]