Stub NET_Init() for Unix and call it while initializing

This commit is contained in:
Yamagi Burmeister 2012-06-03 22:04:27 +02:00
parent 6c8799d0b8
commit 6aae3e23b9
3 changed files with 7 additions and 0 deletions

View file

@ -481,6 +481,7 @@ typedef struct
unsigned short port;
} netadr_t;
void NET_Init (void);
void NET_Shutdown (void);
void NET_Config (qboolean multiplayer);

View file

@ -236,6 +236,7 @@ void Qcommon_Init (int argc, char **argv)
if (dedicated->value)
Cmd_AddCommand ("quit", Com_Quit);
NET_Init();
Netchan_Init ();
SV_Init ();
#ifndef DEDICATED_ONLY

View file

@ -180,6 +180,11 @@ SockadrToNetadr ( struct sockaddr_storage *s, netadr_t *a )
}
}
void
NET_Init ( )
{
}
qboolean
NET_CompareAdr ( netadr_t a, netadr_t b )
{