[Freeciv-Dev] (PR#6357) small topology fix in mapgen
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
The attached (tiny) patch removes some old, obsoleted code from mapgen.
Since assign_continent_flood will only be given normal positions, this
code is unneeded. And since map.ysize now gives the dimensions in
native coordinates it is now wrong.
jason
Index: server/mapgen.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/mapgen.c,v
retrieving revision 1.117
diff -u -r1.117 mapgen.c
--- server/mapgen.c 2003/09/19 13:17:12 1.117
+++ server/mapgen.c 2003/10/01 19:16:42
@@ -905,10 +905,6 @@
**************************************************************************/
static void assign_continent_flood(int x, int y, int nr)
{
- if (y < 0 || y >= map.ysize) {
- return;
- }
-
if (map_get_continent(x, y) != 0) {
return;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#6357) small topology fix in mapgen,
Jason Short <=
|
|