Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] (PR#6581) Put the corrects _iterate_end in settlers.c
Home

[Freeciv-Dev] (PR#6581) Put the corrects _iterate_end in settlers.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#6581) Put the corrects _iterate_end in settlers.c
From: "Remi Bonnet" <remi.bonnet@xxxxxxxxxxx>
Date: Mon, 20 Oct 2003 10:12:36 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Put more corrects iterate_end tags in settler.c. Seems that the old one
worked only beacuse city_list_iterate_end = city_map_iterate_outwards_end
diff -u -r -Xdiff_ignore ../freeciv/server/settlers.c ./server/settlers.c
--- ../freeciv/server/settlers.c        2003-10-09 15:46:01.000000000 +0200
+++ ./server/settlers.c 2003-10-20 19:02:35.000000000 +0200
@@ -1171,9 +1171,8 @@
                pcity->ai.derad[i][j]);
 #endif
       } /* end if we are a legal destination */
-    } city_map_iterate_outwards_end;
-  }
-  city_map_checked_iterate_end;
+    } city_map_checked_iterate_end;
+  } city_list_iterate_end;
 
   best_newv = (best_newv - food_upkeep * FOOD_WEIGHTING) * 100 / (40 + 
food_cost);
   if (best_newv < 0)

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#6581) Put the corrects _iterate_end in settlers.c, Remi Bonnet <=