Fix incorrect netmsg constant

Should be '7' based on the calls to 'bf_write::WriteUBitLong' in the game executable.
This commit is contained in:
Kawe Mazidjatari 2023-04-10 14:58:21 +02:00
parent e4bea5a88f
commit 129637e8e6

View File

@ -10,7 +10,7 @@
// user message
#define MAX_USER_MSG_DATA 511 // <-- 255 in Valve Source.
#define NETMSG_TYPE_BITS 8 // must be 2^NETMSG_TYPE_BITS > SVC_LASTMSG (6 in Valve Source).
#define NETMSG_TYPE_BITS 7 // must be 2^NETMSG_TYPE_BITS > SVC_LASTMSG (6 in Valve Source).
#define NETMSG_LENGTH_BITS 12 // 512 bytes (11 in Valve Source, 256 bytes).
#define NET_MIN_MESSAGE 5 // Even connectionless packets require int32 value (-1) + 1 byte content