Author: sveinung
Date: Sun Sep 20 13:11:44 2015
New Revision: 29944

URL: http://svn.gna.org/viewcvs/freeciv?rev=29944&view=rev
Log:
Document num2char()'s limit on the number of extras

Requested by Marko Lindqvist <cazfi>

See patch #6365

Modified:
    branches/S2_6/common/fc_types.h

Modified: branches/S2_6/common/fc_types.h
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/common/fc_types.h?rev=29944&r1=29943&r2=29944&view=diff
==============================================================================
--- branches/S2_6/common/fc_types.h     (original)
+++ branches/S2_6/common/fc_types.h     Sun Sep 20 13:11:44 2015
@@ -43,6 +43,8 @@
 #define MAX_LEN_VET_SHORT_NAME 8
 /* Used in the network protocol. See diplomat_success_vs_defender() */
 #define MAX_VET_LEVELS 20
+/* Limited by what values num2char() can store in unit orders in
+ * savegames. */
 #define MAX_EXTRA_TYPES 64 /* Used in the network protocol. */
 #define MAX_BASE_TYPES MAX_EXTRA_TYPES /* Used in the network protocol. */
 #define MAX_ROAD_TYPES MAX_EXTRA_TYPES /* Used in the network protocol. */


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

Reply via email to