mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
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
1 changed files with 8 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue