Temporary workaround for the disconnect-bug.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2773 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2007-10-31 19:59:40 +00:00
parent c267c17faf
commit 2f22a2b1cf

View file

@ -1476,7 +1476,14 @@ void ParseMessage(sv_t *tv, void *buffer, int length, int to, int mask)
//in fte at least, the server does give the packet the correct length
//I hope mvdsv is the same
if (tv->sourcetype != SRC_DEMO)
tv->drop = true;
{
#ifndef _MSC_VER
#warning QTV is meant to disconnect when servers tells it to.
#endif
// FIXME: Servers are today sending the svc_disconnect in a non-standard way, which makes QTV drop when it shouldn't.
// Tell the server developers to fix the servers.
//tv->drop = true;
}
else
{
while(ReadByte(&buf))