engine: increase MAX_LEGACY_SERVERS limit

This commit is contained in:
Alibek Omarov 2021-03-19 01:17:45 +03:00
parent 25569db053
commit acaf15c5d2
1 changed files with 5 additions and 1 deletions

View File

@ -318,7 +318,11 @@ extern const char *clc_strings[clc_lastmsg+1];
#define MAX_LEGACY_ENTITY_BITS 12
#define MAX_LEGACY_WEAPON_BITS 5
#define MAX_LEGACY_MODEL_BITS 11
#define MAX_LEGACY_SERVERS 32
#if XASH_LOW_MEMORY >= 1
#define MAX_LEGACY_SERVERS 32
#else
#define MAX_LEGACY_SERVERS 256
#endif
#define MAX_LEGACY_TOTAL_CMDS 28 // magic number from old engine's sv_client.c
#endif//NET_PROTOCOL_H