act_prob_cache size is ruleset number of actions.
commit278e27110dc936ca2acca3e6e40e4ac15d70cb02
authorsveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Wed, 22 Mar 2017 11:02:02 +0000 (22 11:02 +0000)
committersveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Wed, 22 Mar 2017 11:02:02 +0000 (22 11:02 +0000)
tree79280dfea0af40986abf9781e7d28c5ec2f13e5a
parentb38038a3341ce76bf75f3d180978cb71ee258a06
act_prob_cache size is ruleset number of actions.

The action probabilities are copied into it using action_iterate. It will
therefore never have to hold more than NUM_ACTIONS actions. This change can
therefore go in before Freeciv stops transferring action probabilities for
non existing actions after actions have been made generic.

See hrm Feature #646167

git-svn-id: svn://svn.gna.org/svn/freeciv/trunk@35143 a0f10bec-cc02-0410-94fc-a9cfff90b4cd
client/climisc.c