action consequence functions: action as action.
commitf19697ab76c472aa50c75c5f4a8ce5b0bafd6ba7
authorsveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Mon, 24 Oct 2016 11:54:45 +0000 (24 11:54 +0000)
committersveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Mon, 24 Oct 2016 11:54:45 +0000 (24 11:54 +0000)
treec98425e10b7533792d9f59f2c5c44437545fe109
parentcc22e54ab3d0e3af5a9512bd8e5358e38091334e
action consequence functions: action as action.

Make the parameter that specifies the action for the functions
action_consequence_caught() and action_consequence_success() an action
rather than an action id. Define an id version for each via macros.

See patch #7864

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