Author: sveinung
Date: Fri Mar 10 11:37:32 2017
New Revision: 35091
URL: http://svn.gna.org/viewcvs/freeciv?rev=35091&view=rev
Log:
Give the AI action decision want information.
See hrm Feature #643268
Modified:
branches/S3_0/server/unithand.c
Modified: branches/S3_0/server/unithand.c
URL:
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/server/unithand.c?rev=35091&r1=35090&r2=35091&view=diff
==============================================================================
--- branches/S3_0/server/unithand.c (original)
+++ branches/S3_0/server/unithand.c Fri Mar 10 11:37:32 2017
@@ -3613,10 +3613,6 @@
|| action_tgt_city(punit, pdesttile, can_not_move)
|| action_tgt_tile_units(punit, pdesttile, can_not_move)
|| ttile) {
- if (is_ai(pplayer)) {
- return FALSE;
- }
-
punit->action_decision_want = ACT_DEC_ACTIVE;
punit->action_decision_tile = pdesttile;
_______________________________________________
Freeciv-commits mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-commits