actiontools: act perf acquire target to macro.
commit76a57b5dffe5183b61f730a2aa7d3d4a5d615392
authorsveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Fri, 4 Nov 2016 12:10:03 +0000 (4 12:10 +0000)
committersveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Fri, 4 Nov 2016 12:10:03 +0000 (4 12:10 +0000)
tree433c5b7ad5302f1f3019d80dbc381d11814ae2c2
parent7f205cb183530dd70760887c2e8877536e611db9
actiontools: act perf acquire target to macro.

The acquire target code for action_auto_perf_unit_sel() and
action_auto_perf_unit_prob() is and should be identical. Move it to the new
macro action_auto_perf_acquire_targets.

See patch #7926

git-svn-id: svn://svn.gna.org/svn/freeciv/trunk@34383 a0f10bec-cc02-0410-94fc-a9cfff90b4cd
server/actiontools.c