Author: jtn
Date: Mon May 30 12:52:17 2016
New Revision: 32771

URL: http://svn.gna.org/viewcvs/freeciv?rev=32771&view=rev
Log:
Fix 'fractal' map generation.

See gna bug #24715.

Modified:
    branches/S2_6/server/generator/height_map.c

Modified: branches/S2_6/server/generator/height_map.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/generator/height_map.c?rev=32771&r1=32770&r2=32771&view=diff
==============================================================================
--- branches/S2_6/server/generator/height_map.c (original)
+++ branches/S2_6/server/generator/height_map.c Mon May 30 12:52:17 2016
@@ -175,7 +175,7 @@
 
   /* now call recursively on the four subrectangles */
   gen5rec(2 * step / 3, xl, yt, (xr + xl) / 2, (yb + yt) / 2);
-  gen5rec(2 * step / 3, xl, (yb + yt) / 2, (xr + xl) / 2, yt);
+  gen5rec(2 * step / 3, xl, (yb + yt) / 2, (xr + xl) / 2, yb);
   gen5rec(2 * step / 3, (xr + xl) / 2, yt, xr, (yb + yt) / 2);
   gen5rec(2 * step / 3, (xr + xl) / 2, (yb + yt) / 2, xr, yb);
 }


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

Reply via email to