diff options
| author | xHire <xhire@tuxportal.cz> | 2008-10-25 19:33:37 +0200 |
|---|---|---|
| committer | xHire <xhire@tuxportal.cz> | 2008-10-25 19:33:37 +0200 |
| commit | 39f3432e4e1e8a2b6c3234df6b90d35e03548b48 (patch) | |
| tree | 51520f470d710fcc6aa746a70fc0e9f24fbf48b9 /src/base/net_multiplayer.c | |
| parent | c8a9209d77a896bf49227e5aeccd54e91ccf29cc (diff) | |
Changed default port to 6800
Corrected wrong version in server config file
Added missing arena (BAIACO8B) into server list
Diffstat (limited to 'src/base/net_multiplayer.c')
| -rw-r--r-- | src/base/net_multiplayer.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/base/net_multiplayer.c b/src/base/net_multiplayer.c index d967413..f59b3b2 100644 --- a/src/base/net_multiplayer.c +++ b/src/base/net_multiplayer.c @@ -54,16 +54,14 @@ int initNetMuliplayer(int type, char *ip, int port, int proto) switch (proto) { case PROTO_UDPv4: if (initServer(ip, port, NULL, 0) != 1) { - fprintf(stderr, - _("Unable to inicialize network game as server!\n")); + fprintf(stderr, _("Unable to inicialize network game as server!\n")); netGameType = NET_GAME_TYPE_NONE; return -1; } break; case PROTO_UDPv6: if (initServer(NULL, 0, ip, port) != 1) { - fprintf(stderr, - _("Unable to inicialize network game as server!\n")); + fprintf(stderr, _("Unable to inicialize network game as server!\n")); netGameType = NET_GAME_TYPE_NONE; return -1; } @@ -74,8 +72,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) { - fprintf(stderr, - _("Unable to inicialize network game as client!\n")); + fprintf(stderr, _("Unable to inicialize network game as client!\n")); netGameType = NET_GAME_TYPE_NONE; return -1; } |