Author: cazfi Date: Wed Dec 23 22:23:27 2015 New Revision: 31171 URL: http://svn.gna.org/viewcvs/freeciv?rev=31171&view=rev Log: Recursive extra removal removes also their effects on server side.
See patch #6701 Modified: trunk/common/tile.c Modified: trunk/common/tile.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/common/tile.c?rev=31171&r1=31170&r2=31171&view=diff ============================================================================== --- trunk/common/tile.c (original) +++ trunk/common/tile.c Wed Dec 23 22:23:27 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