diff --git a/common/fc_types.h b/common/fc_types.h index 663a7d4975..adfbbefcfb 100644 --- a/common/fc_types.h +++ b/common/fc_types.h @@ -31,7 +31,7 @@ // e.g. unit_types. Used in the network protocol. #define MAX_NUM_ITEMS 200 #define MAX_NUM_ADVANCES 250 // Used in the network protocol. -#define MAX_NUM_UNITS 250 // Used in the network protocol. +#define MAX_NUM_UNIT_TYPES 250 // Used in the network protocol. #define MAX_NUM_BUILDINGS 200 // Used in the network protocol. #define MAX_NUM_TECH_LIST 10 // Used in the network protocol. #define MAX_NUM_UNIT_LIST 10 // Used in the network protocol. diff --git a/common/unittype.h b/common/unittype.h index 956243a09b..e7459f3d61 100644 --- a/common/unittype.h +++ b/common/unittype.h @@ -28,7 +28,7 @@ struct ai_type; * it can also be used for fixed allocations to ensure able * to hold full number of unit types. * Used in the network protocol. */ -#define U_LAST MAX_NUM_UNITS +#define U_LAST MAX_NUM_UNIT_TYPES /* The largest distance a ruleset can allow a unit to paradrop. *