1
0
Fork 0
forked from fte/fteqw

Fixed a potential incomprehensible server message bug.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3104 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-01-29 01:41:28 +00:00
parent 3e6d9af3d4
commit f06fcc78af

View file

@ -245,11 +245,11 @@ void SV_New_f (void)
#ifdef PROTOCOL_VERSION_FTE
if (host_client->fteprotocolextensions)//let the client know
{
MSG_WriteLong (&host_client->netchan.message, PROTOCOL_VERSION_FTE);
ClientReliableWrite_Long (host_client, PROTOCOL_VERSION_FTE);
if (sizeofcoord == 2) //we're not using float orgs on this level.
MSG_WriteLong (&host_client->netchan.message, host_client->fteprotocolextensions&~PEXT_FLOATCOORDS);
ClientReliableWrite_Long (host_client, host_client->fteprotocolextensions&~PEXT_FLOATCOORDS);
else
MSG_WriteLong (&host_client->netchan.message, host_client->fteprotocolextensions);
ClientReliableWrite_Long (host_client, host_client->fteprotocolextensions);
}
#endif
ClientReliableWrite_Long (host_client, ISQ2CLIENT(host_client)?PROTOCOL_VERSION_Q2:PROTOCOL_VERSION_QW);