summaryrefslogtreecommitdiff
path: root/src/net_sdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net_sdl.c')
-rw-r--r--src/net_sdl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net_sdl.c b/src/net_sdl.c
index 09d1dbb0..255feba4 100644
--- a/src/net_sdl.c
+++ b/src/net_sdl.c
@@ -161,6 +161,14 @@ static boolean NET_SDL_InitClient(void)
{
int p;
+ //!
+ // @category net
+ // @arg <n>
+ //
+ // Use the specified UDP port for communications, instead of
+ // the default (2342).
+ //
+
p = M_CheckParm("-port");
if (p > 0)
port = atoi(myargv[p+1]);