|
|
@ -2247,11 +2247,13 @@ void CL_ReadNetMessage( void ) |
|
|
|
|
|
|
|
|
|
|
|
while( CL_GetMessage( net_message_buffer, &curSize )) |
|
|
|
while( CL_GetMessage( net_message_buffer, &curSize )) |
|
|
|
{ |
|
|
|
{ |
|
|
|
const int split_header = 0xFFFFFFFE; |
|
|
|
const int split_header = LittleLong( 0xFFFFFFFE ); |
|
|
|
if( cls.legacymode && !memcmp( &split_header, net_message_buffer, sizeof( split_header ))) |
|
|
|
if( cls.legacymode && !memcmp( &split_header, net_message_buffer, sizeof( split_header ))) |
|
|
|
|
|
|
|
{ |
|
|
|
// Will rewrite existing packet by merged
|
|
|
|
// Will rewrite existing packet by merged
|
|
|
|
if( !NetSplit_GetLong( &cls.netchan.netsplit, &net_from, net_message_buffer, &curSize ) ) |
|
|
|
if( !NetSplit_GetLong( &cls.netchan.netsplit, &net_from, net_message_buffer, &curSize ) ) |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
MSG_Init( &net_message, "ServerData", net_message_buffer, curSize ); |
|
|
|
MSG_Init( &net_message, "ServerData", net_message_buffer, curSize ); |
|
|
|
|
|
|
|
|
|
|
|