Fixed some endian issues with FTE protocol extensions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2214 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b97416a2ab
commit
713b3ddeff
1 changed files with 2 additions and 2 deletions
|
@ -489,13 +489,13 @@ void CL_SendConnectPacket (
|
||||||
|
|
||||||
#ifdef PROTOCOL_VERSION_FTE
|
#ifdef PROTOCOL_VERSION_FTE
|
||||||
if (ftepext)
|
if (ftepext)
|
||||||
strcat(data, va("0x%x 0x%x\n", PROTOCOL_VERSION_FTE, fteprotextsupported));
|
strcat(data, va("0x%x 0x%x\n", LittleLong(PROTOCOL_VERSION_FTE), LittleLong(fteprotextsupported)));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HUFFNETWORK
|
#ifdef HUFFNETWORK
|
||||||
if (compressioncrc && Huff_CompressionCRC(compressioncrc))
|
if (compressioncrc && Huff_CompressionCRC(compressioncrc))
|
||||||
{
|
{
|
||||||
strcat(data, va("0x%x 0x%x\n", (('H'<<0) + ('U'<<8) + ('F'<<16) + ('F' << 24)), compressioncrc));
|
strcat(data, va("0x%x 0x%x\n", (('H'<<0) + ('U'<<8) + ('F'<<16) + ('F' << 24)), LittleLong(compressioncrc)));
|
||||||
cls.netchan.compress = true;
|
cls.netchan.compress = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue