mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-04 02:55:50 +03:00
Fixed "Malformed packet size" on packets from server to client
This commit is contained in:
parent
97b072a9f6
commit
ee4026ec4e
@ -275,7 +275,11 @@ void Netchan_UpdateFlow(netchan_t *chan)
|
||||
|
||||
void Netchan_Transmit(netchan_t *chan, int length, byte *data)
|
||||
{
|
||||
#ifdef REHLDS_FIXES
|
||||
byte send_buf[MAX_UDP_PACKET];
|
||||
#else
|
||||
byte send_buf[NET_MAX_MESSAGE];
|
||||
#endif
|
||||
qboolean send_reliable;
|
||||
qboolean send_reliable_fragment;
|
||||
qboolean send_resending = false;
|
||||
|
Loading…
Reference in New Issue
Block a user