Author: cazfi
Date: Sun Jun 26 09:23:00 2016
New Revision: 33031

URL: http://svn.gna.org/viewcvs/freeciv?rev=33031&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:
    trunk/common/tile.c

Modified: trunk/common/tile.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/tile.c?rev=33031&r1=33030&r2=33031&view=diff
==============================================================================
--- trunk/common/tile.c (original)
+++ trunk/common/tile.c Sun Jun 26 09:23:00 2016
@@ -565,7 +565,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