Fix q3plug-related crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6221 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
29f9d620f9
commit
6f5180a915
1 changed files with 3 additions and 2 deletions
|
@ -1253,6 +1253,7 @@ void CL_CheckForResend (void)
|
||||||
if (!connectinfo.clogged)
|
if (!connectinfo.clogged)
|
||||||
{
|
{
|
||||||
#ifdef Q3CLIENT
|
#ifdef Q3CLIENT
|
||||||
|
if (q3)
|
||||||
q3->cl.SendAuthPacket(cls.sockets, to);
|
q3->cl.SendAuthPacket(cls.sockets, to);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1284,7 +1285,7 @@ void CL_CheckForResend (void)
|
||||||
{
|
{
|
||||||
contype |= 1; /*always try qw type connections*/
|
contype |= 1; /*always try qw type connections*/
|
||||||
#ifdef VM_UI
|
#ifdef VM_UI
|
||||||
if (!q3->ui.IsRunning()) //don't try to connect to nq servers when running a q3ui. I was getting annoying error messages from q3 servers due to this.
|
if (!(q3&&q3->ui.IsRunning())) //don't try to connect to nq servers when running a q3ui. I was getting annoying error messages from q3 servers due to this.
|
||||||
#endif
|
#endif
|
||||||
contype |= 2; /*try nq connections periodically (or if its the default nq port)*/
|
contype |= 2; /*try nq connections periodically (or if its the default nq port)*/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue