<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40339 >

 This patch fixes initial creation of lakes.


 - ML

diff -Nurd -X.diff_ignore freeciv/server/generator/mapgen.c 
freeciv/server/generator/mapgen.c
--- freeciv/server/generator/mapgen.c   2008-06-28 20:49:38.000000000 +0300
+++ freeciv/server/generator/mapgen.c   2008-06-28 22:33:11.000000000 +0300
@@ -1219,10 +1219,14 @@
       remove_tiny_islands();
     }
 
+    /* Continent numbers must be assigned before regenerate_water() */
+    assign_continent_numbers();
+
     /* Make second pass on water. */
     regenerate_water(NULL);
+  } else {
+    assign_continent_numbers();
   }
-  assign_continent_numbers();
 
   if (!temperature_is_initialized()) {
     create_tmap(FALSE);
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to