Just a minor consistency fix.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2778 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2007-11-04 08:16:23 +00:00
parent f4eca4b936
commit 93c94f2b61

View file

@ -151,7 +151,7 @@ void SV_MVD_RunPendingConnections(void)
{
np = demo.pendingdest->nextdest;
if (demo.pendingdest->socket != -1)
if (demo.pendingdest->socket != INVALID_SOCKET)
closesocket(demo.pendingdest->socket);
Z_Free(demo.pendingdest);
demo.pendingdest = np;