Non Spy consumption: use action shared system.
commitf5e32667ca7b0add7cf08dd4ab298d531102549a
authorsveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Sat, 6 May 2017 20:58:54 +0000 (6 20:58 +0000)
committersveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Sat, 6 May 2017 20:58:54 +0000 (6 20:58 +0000)
tree6cc84f1f7da4d009a21d836f983852e75c584370
parent20eb0f8fed2193177b70e57fb269615577ca9990
Non Spy consumption: use action shared system.

Have the actions where units without the Spy unit type flag always are
consumed and units with the Spy utype flag has a chance to escape use the
shared action system when consuming non spies.

Using the system common to actions makes the auto help system aware that non
Spy units will be consumed.

By using the general action consumes actor system it becomes possible to
split those actions in a unit consuming and a unit escaping version in the
future.

See hrm Feature #657674

git-svn-id: svn://svn.gna.org/svn/freeciv/trunk@35424 a0f10bec-cc02-0410-94fc-a9cfff90b4cd
common/unittype.c
server/diplomats.c