diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-10-14 17:33:21 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-10-14 17:33:21 +0000 |
commit | 2ff447b2019b5696375fbc09d87416345418cd9a (patch) | |
tree | 615463d291db654810589e9c923e39546550c5b5 /source/net_common.c | |
parent | 9b25ad2f9f46ea731f6834a96536859e8764ab28 (diff) |
Added `sv_mvd_bufsize', `sv_mvd_disconnect_time', `sv_mvd_suspend_time' cvars.
MVD dummy no longer attempts to reopen the scoreboard while suspended.
Extended maximum MVD/GTV client message size to 256 bytes.
Don't break message order client expects in parse_stream_start().
Support maxclients value change between MVD gamestates.
Added `mvd_suspend_time', `mvd_username', `mvd_password' cvars.
Fixed MVD client retry backoff time.
Diffstat (limited to 'source/net_common.c')
-rw-r--r-- | source/net_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/net_common.c b/source/net_common.c index 9cf8130..900b2aa 100644 --- a/source/net_common.c +++ b/source/net_common.c @@ -119,8 +119,8 @@ static void NET_NetadrToSockadr( const netadr_t *a, struct sockaddr_in *s ) { switch( a->type ) { case NA_BROADCAST: s->sin_family = AF_INET; - s->sin_port = a->port; s->sin_addr.s_addr = INADDR_BROADCAST; + s->sin_port = a->port; break; case NA_IP: s->sin_family = AF_INET; |