diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/cl_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c index 206df3be..ec3dd09b 100644 --- a/src/client/cl_main.c +++ b/src/client/cl_main.c @@ -1104,13 +1104,13 @@ void CL_PlayDemo_f( void ) { Com_Error( ERR_DROP, "couldn't open %s", name); return; } - Q_strncpyz( clc.demoName, Cmd_Argv(1), sizeof( clc.demoName ) ); + Q_strncpyz( clc.demoName, arg, sizeof( clc.demoName ) ); Con_Close(); clc.state = CA_CONNECTED; clc.demoplaying = qtrue; - Q_strncpyz( clc.servername, Cmd_Argv(1), sizeof( clc.servername ) ); + Q_strncpyz( clc.servername, arg, sizeof( clc.servername ) ); // read demo messages until connected while ( clc.state >= CA_CONNECTED && clc.state < CA_PRIMED ) { |