Author: cazfi
Date: Sun Jun 26 09:23:06 2016
New Revision: 33032

URL: http://svn.gna.org/viewcvs/freeciv?rev=33032&view=rev
Log:
Made tile_apple_extra() to disable also side-effects of conflicting extra,
not only to remove it from the map.

See bug #24792

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=33032&r1=33031&r2=33032&view=diff
==============================================================================
--- branches/S2_6/common/tile.c (original)
+++ branches/S2_6/common/tile.c Sun Jun 26 09:23:06 2016
@@ -558,7 +558,7 @@
   extra_type_iterate(pextra) {
     if (tile_has_extra(ptile, pextra)
         && !can_extras_coexist(pextra, tgt)) {
-      tile_remove_extra(ptile, pextra);
+      tile_destroy_extra(ptile, pextra);
     }
   } extra_type_iterate_end;
 


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to