Author: sveinung
Date: Thu Mar 9 21:41:32 2017
New Revision: 35086
URL: http://svn.gna.org/viewcvs/freeciv?rev=35086&view=rev
Log:
Give the AI action decision want information.
See hrm Feature #643268
Modified:
trunk/server/unithand.c
Modified: trunk/server/unithand.c
URL:
http://svn.gna.org/viewcvs/freeciv/trunk/server/unithand.c?rev=35086&r1=35085&r2=35086&view=diff
==============================================================================
--- trunk/server/unithand.c (original)
+++ trunk/server/unithand.c Thu Mar 9 21:41: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