Author: cazfi Date: Wed Dec 23 22:23:32 2015 New Revision: 31172 URL: http://svn.gna.org/viewcvs/freeciv?rev=31172&view=rev Log: Recursive extra removal removes also their effects on server side.
See patch #6701 Modified: branches/S2_6/common/tile.c Modified: branches/S2_6/common/tile.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/common/tile.c?rev=31172&r1=31171&r2=31172&view=diff ============================================================================== --- branches/S2_6/common/tile.c (original) +++ branches/S2_6/common/tile.c Wed Dec 23 22:23:32 2015 @@ -491,10 +491,10 @@ } /**************************************************************************** - Recursively remove all extras depending on given extra. + Recursively remove all extras depending on given extra. ****************************************************************************/ static bool rm_recursive_extras(struct tile *ptile, struct extra_type *pextra, - int rec) + int rec) { if (rec > MAX_EXTRA_TYPES) { /* Infinite recursion */ @@ -514,7 +514,7 @@ } } extra_type_iterate_end; - tile_remove_extra(ptile, pextra); + tile_destroy_extra(ptile, pextra); return TRUE; } _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits