mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-14 06:01:10 +00:00
Fix displaying demo name when loading demo
This commit is contained in:
parent
89ee8b050f
commit
b009528e6a
1 changed files with 2 additions and 2 deletions
|
@ -1142,13 +1142,13 @@ void CL_PlayDemo_f( void ) {
|
||||||
Com_Error( ERR_DROP, "couldn't open %s", name);
|
Com_Error( ERR_DROP, "couldn't open %s", name);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Q_strncpyz( clc.demoName, Cmd_Argv(1), sizeof( clc.demoName ) );
|
Q_strncpyz( clc.demoName, arg, sizeof( clc.demoName ) );
|
||||||
|
|
||||||
Con_Close();
|
Con_Close();
|
||||||
|
|
||||||
clc.state = CA_CONNECTED;
|
clc.state = CA_CONNECTED;
|
||||||
clc.demoplaying = qtrue;
|
clc.demoplaying = qtrue;
|
||||||
Q_strncpyz( clc.servername, Cmd_Argv(1), sizeof( clc.servername ) );
|
Q_strncpyz( clc.servername, arg, sizeof( clc.servername ) );
|
||||||
|
|
||||||
#ifdef LEGACY_PROTOCOL
|
#ifdef LEGACY_PROTOCOL
|
||||||
if(protocol <= com_legacyprotocol->integer)
|
if(protocol <= com_legacyprotocol->integer)
|
||||||
|
|
Loading…
Reference in a new issue