Author: jtn
Date: Tue Feb  9 23:56:56 2016
New Revision: 31846

URL: http://svn.gna.org/viewcvs/freeciv?rev=31846&view=rev
Log:
Reduce the distance near_singularity() looks, and hence the gaps around
the edges of generated maps, back to its 2.2.x value.

See gna patch #6917.

Modified:
    trunk/server/generator/mapgen_topology.c

Modified: trunk/server/generator/mapgen_topology.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/generator/mapgen_topology.c?rev=31846&r1=31845&r2=31846&view=diff
==============================================================================
--- trunk/server/generator/mapgen_topology.c    (original)
+++ trunk/server/generator/mapgen_topology.c    Tue Feb  9 23:56:56 2016
@@ -170,12 +170,12 @@
 }
 
 /****************************************************************************
-  Return TRUE if the map in a city radius is SINGULAR.  This is used to
-  avoid putting (non-polar) land near the edge of the map.
+  Return TRUE if the map in a typical city radius is SINGULAR.  This is
+  used to avoid putting (non-polar) land near the edge of the map.
 ****************************************************************************/
 bool near_singularity(const struct tile *ptile)
 {
-  return is_singular_tile(ptile, CITY_MAP_MAX_RADIUS);
+  return is_singular_tile(ptile, CITY_MAP_DEFAULT_RADIUS);
 }
 
 


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to