mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-01-22 00:11:20 +00:00
fixed NDP vid_restart fatal errors when demo file names contain spaces
This commit is contained in:
parent
a202404d16
commit
db25062b05
1 changed files with 1 additions and 1 deletions
|
@ -1896,7 +1896,7 @@ static void CL_Vid_Restart_f()
|
|||
// we don't really technically need to run everything again,
|
||||
// but trying to optimize parts out is very likely to lead to nasty bugs
|
||||
if ( clc.demoplaying && clc.newDemoPlayer ) {
|
||||
Cmd_TokenizeString( va("demo %s", clc.demoName) );
|
||||
Cmd_TokenizeString( va("demo \"%s\"", clc.demoName) );
|
||||
CL_PlayDemo( qtrue );
|
||||
}
|
||||
// start the cgame if connected
|
||||
|
|
Loading…
Reference in a new issue