Prepare action ID validation for generic actions.
commitfde5d8a3249ff1a130b7742dfff38fa43a87df1f
authorsveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Tue, 14 Mar 2017 09:38:50 +0000 (14 09:38 +0000)
committersveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Tue, 14 Mar 2017 09:38:50 +0000 (14 09:38 +0000)
tree65fddd7cfc5ac4e7e8679ebce42b30e75695814a
parentcb6cfaba07c60e5eee6956494f82e9ebd76d99dd
Prepare action ID validation for generic actions.

Rename the function action_id_is_valid() to action_id_exists(). Make it
about the action with the given id, not about the action result. Use
gen_action_is_valid() for action results.

See hrm Feature #644444

git-svn-id: svn://svn.gna.org/svn/freeciv/trunk@35106 a0f10bec-cc02-0410-94fc-a9cfff90b4cd
ai/default/aicity.c
client/control.c
client/packhand.c
common/actions.c
common/actions.h
common/unittype.c
server/ruleset.c
server/savegame3.c
server/unithand.c