[Freeciv-Dev] Re: Hills and mapgen 1
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Here's the patch I threatened you all with. This patch should make the
distribution of hills and forests as such be more balanced between the
northern and southern hemispheres.
Please let me know if you feel I've violated someone's earlier good
intentions.
Corey
--- freeciv/server/mapgen.c.orig Thu Jan 27 20:08:37 2000
+++ freeciv/server/mapgen.c Thu Jan 27 20:09:04 2000
@@ -954,7 +954,7 @@
for (y=0;y<map.ysize;y++) {
for (x=0;x<map.xsize;x++) {
- height_map[y*map.xsize+x]=myrand(40)+((500-abs(map.ysize/2)-y)/10);
+ height_map[y*map.xsize+x]=myrand(40)+((500-abs(map.ysize/2-y))/10);
}
}
for (i=0;i<1500;i++) {
|
|