Date: Mon May 30 12:52:21 2016
New Revision: 32772
Initialize city did_buy to FALSE.
It's not necessary, and fixes a bug where you couldn't change production
in a city after disbanding a unit there the same turn the city was
Reported by fomalhaut on the forums.
See gna bug #24714.
--- branches/S2_6/common/city.c (original)
+++ branches/S2_6/common/city.c Mon May 30 12:52:21 2016
@@ -3098,8 +3098,7 @@
pcity->turn_plague = -1; /* -1 = never */
- pcity->did_buy = TRUE; /* You cannot buy production same turn city is
- * founded. */
+ pcity->did_buy = FALSE;
pcity->city_radius_sq = game.info.init_city_radius_sq;
pcity->turn_founded = game.info.turn;
pcity->turn_last_built = game.info.turn;
Freeciv-commits mailing list