Author: cazfi
Date: Mon Dec 21 21:04:34 2015
New Revision: 31142

URL: http://svn.gna.org/viewcvs/freeciv?rev=31142&view=rev
Log:
Recursively add dependency extras when user adds specials in editor.

See bug #24035

Modified:
    branches/S2_6/server/edithand.c

Modified: branches/S2_6/server/edithand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/edithand.c?rev=31142&r1=31141&r2=31142&view=diff
==============================================================================
--- branches/S2_6/server/edithand.c     (original)
+++ branches/S2_6/server/edithand.c     Mon Dec 21 21:04:34 2015
@@ -318,8 +318,7 @@
     terrain_changed(ptile);
 
   } else {
-    if (tile_has_extra(ptile, pextra)
-        || !is_native_tile_to_extra(pextra, ptile)) {
+    if (tile_has_extra(ptile, pextra)) {
       return FALSE;
     }
 


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

Reply via email to