From 2f22a2b1cf48a5c90aeb936e44de589b39f1c3a7 Mon Sep 17 00:00:00 2001 From: Molgrum Date: Wed, 31 Oct 2007 19:59:40 +0000 Subject: [PATCH] Temporary workaround for the disconnect-bug. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2773 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- fteqtv/parse.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/fteqtv/parse.c b/fteqtv/parse.c index ac9ae71c3..229c7d180 100644 --- a/fteqtv/parse.c +++ b/fteqtv/parse.c @@ -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))