mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix incorrect netmsg constant
Should be '7' based on the calls to 'bf_write::WriteUBitLong' in the game executable.
This commit is contained in:
parent
e4bea5a88f
commit
129637e8e6
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user