Fix displaying demo name when loading demo
This commit is contained in:
1 parent
89ee8b050f
commit
b009528e6a
1 file changed
+2
-2
@@ -1142,13 +1142,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 ) );
|
||||
|
||||
#ifdef LEGACY_PROTOCOL
|
||||
if(protocol <= com_legacyprotocol->integer)
|
||||
|
||||
Reference in new issue
Block a user