Author: jtn
Date: Wed Feb 10 00:17:40 2016
New Revision: 31849

URL: http://svn.gna.org/viewcvs/freeciv?rev=31849&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:
    branches/S2_6/server/generator/mapgen_topology.c

Modified: branches/S2_6/server/generator/mapgen_topology.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/generator/mapgen_topology.c?rev=31849&r1=31848&r2=31849&view=diff
==============================================================================
--- branches/S2_6/server/generator/mapgen_topology.c    (original)
+++ branches/S2_6/server/generator/mapgen_topology.c    Wed Feb 10 00:17:40 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