Author: sveinung
Date: Sat Apr  1 22:13:05 2017
New Revision: 35183

URL: http://svn.gna.org/viewcvs/freeciv?rev=35183&view=rev
Log:
Comment improvement

Modified:
    trunk/server/savegame3.c

Modified: trunk/server/savegame3.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/savegame3.c?rev=35183&r1=35182&r2=35183&view=diff
==============================================================================
--- trunk/server/savegame3.c    (original)
+++ trunk/server/savegame3.c    Sat Apr  1 22:13:05 2017
@@ -5807,10 +5807,10 @@
         case ORDER_PERFORM_ACTION:
           action_buf[j] = num2char(punit->orders.list[j].action);
           /* Encoding with num2char() limits the number of actions. */
-          /* Note: <= is the correct operator. ACTION_COUNT is number of
-           * actions (the last action + 1). strlen(num_chars) is the number
-           * of chars (the last char + 1). The assert is supposed to be
-           * true. */
+          /* Note: <= is the correct operator. MAX_NUM_ACTIONS is number of
+           * actions (the last action id + 1). strlen(num_chars) is the
+           * number of chars (the last char position + 1). The assert is
+           * supposed to be true. */
           FC_STATIC_STRLEN_ASSERT(MAX_NUM_ACTIONS <= strlen(num_chars),
                                   can_not_encode_all_actions);
 


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

Reply via email to