Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] (PR#11337) [Patch] Remove obsoleted FIXME comments from ai
Home

[Freeciv-Dev] (PR#11337) [Patch] Remove obsoleted FIXME comments from ai

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#11337) [Patch] Remove obsoleted FIXME comments from aiferry
From: "Marko Lindqvist" <marko.lindqvist@xxxxxxxxxxx>
Date: Sat, 4 Dec 2004 14:46:08 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=11337 >


  aiferry_find_boat functions use is_boat_free(), which nowadays checks 
capacity.


  - Cazfi


diff -Nurd -X.diff_ignore freeciv/ai/aiferry.c freeciv/ai/aiferry.c
--- freeciv/ai/aiferry.c        2004-12-04 23:40:41.156250000 +0200
+++ freeciv/ai/aiferry.c        2004-12-05 00:06:30.250000000 +0200
@@ -297,8 +297,6 @@
 
   WARNING: Due to the nature of this function and PF (see the comment of 
   combined_land_sea_move), the path won't lead onto the boat itself.
-
-  FIXME: Actually check the capacity.
 ****************************************************************************/
 int aiferry_find_boat(struct unit *punit, int cap, struct pf_path **path)
 {
@@ -370,8 +368,6 @@
 
 /****************************************************************************
   Find a boat within one move from us (i.e. a one we can board).
-
-  FIXME: Actually check the capacity.
 ****************************************************************************/
 static int aiferry_find_boat_nearby(struct unit *punit, int cap)
 {

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#11337) [Patch] Remove obsoleted FIXME comments from aiferry, Marko Lindqvist <=