Author: sveinung
Date: Wed Mar 22 16:31:14 2017
New Revision: 35149

URL: http://svn.gna.org/viewcvs/freeciv?rev=35149&view=rev
Log:
helpdata: generate block help for all actions.

Prepare help text generation for action blocked_by for generic actions.

See hrm Feature #646479

Modified:
    trunk/client/helpdata.c

Modified: trunk/client/helpdata.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/helpdata.c?rev=35149&r1=35148&r2=35149&view=diff
==============================================================================
--- trunk/client/helpdata.c     (original)
+++ trunk/client/helpdata.c     Wed Mar 22 16:31:14 2017
@@ -1962,7 +1962,7 @@
 
     if (utype_can_do_action(utype, act)) {
       const char *target_adjective;
-      const char *blockers[ACTION_COUNT];
+      const char *blockers[MAX_NUM_ACTIONS];
       int i = 0;
 
       /* Generic action information. */


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

Reply via email to