diff --git a/common/xash3d_types.h b/common/xash3d_types.h index 1c82b353..ac86cdea 100644 --- a/common/xash3d_types.h +++ b/common/xash3d_types.h @@ -142,7 +142,11 @@ typedef void (*setpair_t)( const char *key, const void *value, void *buffer, voi // config strings are a general means of communication from // the server to all connected clients. // each config string can be at most CS_SIZE characters. + #define MAX_QPATH 64 // max length of a game pathname +#if XASH_LOW_MEMORY == 2 +#define MAX_QPATH 32 +#endif #define MAX_OSPATH 260 // max length of a filesystem pathname #define CS_SIZE 64 // size of one config string #define CS_TIME 16 // size of time string