diff options
Diffstat (limited to 'src/net_sdl.c')
-rw-r--r-- | src/net_sdl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net_sdl.c b/src/net_sdl.c index aa7fbd6e..6a4f24dc 100644 --- a/src/net_sdl.c +++ b/src/net_sdl.c @@ -170,7 +170,7 @@ static boolean NET_SDL_InitClient(void) // the default (2342). // - p = M_CheckParm("-port"); + p = M_CheckParmWithArgs("-port", 1); if (p > 0) port = atoi(myargv[p+1]); @@ -196,7 +196,7 @@ static boolean NET_SDL_InitServer(void) { int p; - p = M_CheckParm("-port"); + p = M_CheckParmWithArgs("-port", 1); if (p > 0) port = atoi(myargv[p+1]); |