Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Re: (PR#9038) double check for odd ysize
Home

[Freeciv-Dev] Re: (PR#9038) double check for odd ysize

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Cc: mburda@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9038) double check for odd ysize
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 6 Jul 2004 14:56:54 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9038 >

And a patch.

jason


? data/tridenthex
? data/tridenthex.tilespec
Index: server/srv_main.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/srv_main.c,v
retrieving revision 1.171
diff -u -r1.171 srv_main.c
--- server/srv_main.c   30 Jun 2004 07:59:26 -0000      1.171
+++ server/srv_main.c   6 Jul 2004 21:54:52 -0000
@@ -1668,16 +1668,6 @@
   test_random1(20000);
   test_random1(200000);
 #endif
-    
-  if (topo_has_flag(TF_ISO) && topo_has_flag(TF_WRAPY)
-      && (map.ysize % 2 == 1)) {
-    /* To wrap north-south an iso-map must have even Y dimension.  Since the
-     * X dimension is compressed this isn't an issue for east-west
-     * wrapping. */
-    /* TODO: if an init_topology() function is written this should go inside
-     * it. */
-    map.ysize++;
-  }
 
   if (game.is_new_game) {
     generate_ai_players();

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#9038) double check for odd ysize, Jason Short <=