engine: client: tune max commands/max backup commands values for legacy protocol

This commit is contained in:
Alibek Omarov
2022-11-27 18:26:53 +03:00
parent 591d572870
commit 93b2f535e2
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -298,7 +298,8 @@ extern const char *clc_strings[clc_lastmsg+1];
#define SND_LEGACY_LARGE_INDEX (1<<2) // a send sound as short
#define MAX_LEGACY_ENTITY_BITS 12
#define MAX_LEGACY_WEAPON_BITS 5
#define MAX_LEGACY_MODEL_BITS 11
#define MAX_LEGACY_TOTAL_CMDS 28 // magic number from old engine's sv_client.c
#define MAX_LEGACY_MODEL_BITS 11
#define MAX_LEGACY_TOTAL_CMDS 16 // 28 - 16 = 12 real legacy max backup
#define MAX_LEGACY_BACKUP_CMDS 12
#endif//NET_PROTOCOL_H