Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] Re: (PR#9633) forest turned into plain inside city radius
Home

[Freeciv-Dev] Re: (PR#9633) forest turned into plain inside city radius

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ggracian@xxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9633) forest turned into plain inside city radius
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 8 Aug 2004 07:26:22 -0700
Reply-to: rt@xxxxxxxxxxx

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

This patch fixes it.  My bad, obviously.  This is the same as the other 
plains->forest bug report.

jason


? settings
Index: server/settlers.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/settlers.c,v
retrieving revision 1.191
diff -u -r1.191 settlers.c
--- server/settlers.c   6 Aug 2004 16:46:24 -0000       1.191
+++ server/settlers.c   8 Aug 2004 14:22:50 -0000
@@ -396,7 +396,7 @@
     ptile->terrain = new_terrain;
     map_clear_special(map_x, map_y, S_MINE);
     goodness = city_tile_value(pcity, city_x, city_y, 0, 0);
-    ptile->terrain = new_terrain;
+    ptile->terrain = old_terrain;
     ptile->special = old_special;
     return goodness;
   } else if (old_terrain == new_terrain

[Prev in Thread] Current Thread [Next in Thread]