fixes issue with server browser not working.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@687 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-12-25 00:55:01 +00:00
parent 5c7b6b809f
commit 2029117eda

View file

@ -489,6 +489,8 @@ void MasterInfo_Request(master_t *mast)
case MT_BCASTNQ:
case MT_SINGLENQ:
SZ_Clear(&net_message);
net_message.packing = SZ_RAWBYTES;
net_message.currentbit = 0;
MSG_WriteLong(&net_message, 0);// save space for the header, filled in later
MSG_WriteByte(&net_message, CCREQ_SERVER_INFO);
MSG_WriteString(&net_message, NET_GAMENAME_NQ); //look for either sort of server