lowmemory: reduce MAX_QPATH

This commit is contained in:
mittorn 2019-10-29 11:30:57 +07:00
parent b3a5283517
commit cb8e0a50bc
1 changed files with 4 additions and 0 deletions

View File

@ -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