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:
parent
c267c17faf
commit
2f22a2b1cf
|
@ -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
|
//in fte at least, the server does give the packet the correct length
|
||||||
//I hope mvdsv is the same
|
//I hope mvdsv is the same
|
||||||
if (tv->sourcetype != SRC_DEMO)
|
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
|
else
|
||||||
{
|
{
|
||||||
while(ReadByte(&buf))
|
while(ReadByte(&buf))
|
||||||
|
|
Loading…
Reference in New Issue