Browse Source

engine: increase MAX_LEGACY_SERVERS limit

pull/2/head
Alibek Omarov 4 years ago
parent
commit
acaf15c5d2
  1. 6
      engine/common/protocol.h

6
engine/common/protocol.h

@ -318,7 +318,11 @@ extern const char *clc_strings[clc_lastmsg+1]; @@ -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

Loading…
Cancel
Save