Date: Mon May 30 12:51:25 2016
New Revision: 32766
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.
--- trunk/common/city.c (original)
+++ trunk/common/city.c Mon May 30 12:51:25 2016
@@ -3248,8 +3248,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