handle_unit_get_actions(): fix target id finding.
commitc294f0278ec6b1fa74645a8899c74a1e0fef25b5
authorsveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Fri, 12 May 2017 12:54:53 +0000 (12 12:54 +0000)
committersveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Fri, 12 May 2017 12:54:53 +0000 (12 12:54 +0000)
tree8561492ccc807974f146c190502b149eeaea0d00
parent6e79ceb8393dd8d569b94f1f8fca1acca58b7580
handle_unit_get_actions(): fix target id finding.

A typo caused target id finding to abort after processing the first legal
action if a target unit existed. Fix it.

See hrm Bug #659158

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