Author: sveinung
Date: Sun Sep 20 13:10:53 2015
New Revision: 29942

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

Requested by Marko Lindqvist <cazfi>

See patch #6365

Modified:
    trunk/common/fc_types.h

Modified: trunk/common/fc_types.h
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/fc_types.h?rev=29942&r1=29941&r2=29942&view=diff
==============================================================================
--- trunk/common/fc_types.h     (original)
+++ trunk/common/fc_types.h     Sun Sep 20 13:10:53 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