From b21832e8d922351169ab4d06e7993ed401fe0924 Mon Sep 17 00:00:00 2001 From: Dusan Durech Date: Sun, 1 Mar 2009 18:09:11 +0100 Subject: API to UDP and TCP has been modified so that they can be used independet from protocols IPv4 and IPv6 --- src/base/net_multiplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base/net_multiplayer.c') diff --git a/src/base/net_multiplayer.c b/src/base/net_multiplayer.c index f59b3b2..198abe7 100644 --- a/src/base/net_multiplayer.c +++ b/src/base/net_multiplayer.c @@ -71,7 +71,7 @@ int initNetMuliplayer(int type, char *ip, int port, int proto) #ifndef PUBLIC_SERVER case NET_GAME_TYPE_CLIENT: - if (initClient(ip, port, proto) != 0) { + if (initClient(ip, port) != 0) { fprintf(stderr, _("Unable to inicialize network game as client!\n")); netGameType = NET_GAME_TYPE_NONE; return -1; -- cgit v1.2.3