Author: jtn Date: Thu Feb 5 01:21:18 2015 New Revision: 27974 URL: http://svn.gna.org/viewcvs/freeciv?rev=27974&view=rev Log: Close loopholes when disaster zeroes production box.
See gna bug #23218. Modified: branches/S2_6/server/cityturn.c Modified: branches/S2_6/server/cityturn.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/cityturn.c?rev=27974&r1=27973&r2=27974&view=diff ============================================================================== --- branches/S2_6/server/cityturn.c (original) +++ branches/S2_6/server/cityturn.c Thu Feb 5 01:21:18 2015 @@ -3486,6 +3486,7 @@ char prod[256]; pcity->shield_stock = 0; + nullify_prechange_production(pcity); /* Make it impossible to recover */ universal_name_translation(&pcity->production, prod, sizeof(prod)); notify_player(pplayer, ptile, E_DISASTER, ftc_server, _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits