Author: cazfi
Date: Thu Dec 25 06:30:48 2014
New Revision: 27406

URL: http://svn.gna.org/viewcvs/freeciv?rev=27406&view=rev
Log:
AI wonder city may build defenders for itself.

See patch #5588

Modified:
    trunk/ai/default/advmilitary.c

Modified: trunk/ai/default/advmilitary.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/ai/default/advmilitary.c?rev=27406&r1=27405&r2=27406&view=diff
==============================================================================
--- trunk/ai/default/advmilitary.c      (original)
+++ trunk/ai/default/advmilitary.c      Thu Dec 25 06:30:48 2014
@@ -1406,10 +1406,6 @@
    * of small units -- Syela */
   /* It has to be AFTER assess_danger thanks to wallvalue. */
   our_def = assess_defense_quadratic(ait, pcity); 
-
-  if (pcity->id == ai->wonder_city && city_data->grave_danger == 0) {
-    return; /* Other cities can build our defenders, thank you! */
-  }
 
   dai_choose_diplomat_defensive(ait, pplayer, pcity, choice, our_def);
 


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

Reply via email to