Author: sveinung
Date: Wed Jun 29 08:18:19 2016
New Revision: 33104

URL: http://svn.gna.org/viewcvs/freeciv?rev=33104&view=rev
Log:
Explicit action_probability variable type.

Some action probability variables are declared as int. Fix their type.

See patch #7336

Modified:
    branches/S2_6/common/actions.c

Modified: branches/S2_6/common/actions.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/common/actions.c?rev=33104&r1=33103&r2=33104&view=diff
==============================================================================
--- branches/S2_6/common/actions.c      (original)
+++ branches/S2_6/common/actions.c      Wed Jun 29 08:18:19 2016
@@ -1082,7 +1082,7 @@
             const struct specialist *target_specialist)
 {
   int known;
-  int chance;
+  action_probability chance;
 
   const struct unit_type *actor_unittype;
   const struct unit_type *target_unittype;


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to