An act_prob struct isn't a pointer.
commitffb7aba3862b72ceca0e9601e2d178f9924ee3b8
authorsveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Thu, 10 Nov 2016 09:41:01 +0000 (10 09:41 +0000)
committersveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Thu, 10 Nov 2016 09:41:01 +0000 (10 09:41 +0000)
tree9376c526a0e47a90e5b895d1b6ea5f1067864b31
parent2f9d48f93ae9776232eb787fd940a35ec802b4e4
An act_prob struct isn't a pointer.

The function action_auto_perf_unit_prob() returns an act_prob struct, not a
pointer to an act_prob struct. Remove the const from its return type.

Reported-by: Marko Lindqvist <cazfi>
See bug #25268

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