--- deliantra/server/include/define.h 2007/05/28 21:15:56 1.60 +++ deliantra/server/include/define.h 2007/06/04 13:04:00 1.61 @@ -52,10 +52,8 @@ # define MAX(x,y) max (x, y) #endif -/*NAME_MAX used by random maps may not be defined on pure ansi systems*/ -#ifndef NAME_MAX -# define NAME_MAX 255 -#endif +// maximum length of an object name in the protocol +#define NAME_LEN 127 /* MAX3 is basically like MAX, but instead does 3 values. */ #ifndef MAX3