Fix automatic attack for "Conquer City".
commit93e87f3ff285c2f6561940f6dfc3aa7c4650839a
authorsveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Fri, 3 Feb 2017 13:55:56 +0000 (3 13:55 +0000)
committersveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Fri, 3 Feb 2017 13:55:56 +0000 (3 13:55 +0000)
tree408fd94b25ec219a2f0c8bcc47c056b14c35ec55
parentb0fd004cdc44d2b9cd71509895121f60b50068fe
Fix automatic attack for "Conquer City".

The "Conquer City" action is an attack action. It is city targeted.

A potentially legal attack action should pop up the action selection dialog
if the popup_attack_actions client option is set or if another interesting
action is possible. If the "Pop up attack questions" is unset and no other
interesting action is possible the client should order the conquest without
asking the user.

Make the client able to order city targeted actions (like "Conquer City")
without asking the user.

Reported by wotan <wotan>
Debugged by Christian Knoke <chrisk>

See bug #25336

git-svn-id: svn://svn.gna.org/svn/freeciv/trunk@34945 a0f10bec-cc02-0410-94fc-a9cfff90b4cd
client/packhand.c