mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-23 04:12:39 +00:00
* Disable video command when not playing back a demo
This commit is contained in:
parent
01d057967f
commit
9f42be5d6c
1 changed files with 6 additions and 0 deletions
|
@ -2343,6 +2343,12 @@ void CL_Video_f( void )
|
|||
char filename[ MAX_OSPATH ];
|
||||
int i, last;
|
||||
|
||||
if( !clc.demoplaying )
|
||||
{
|
||||
Com_Printf( "The video command can only be used when playing back demos\n" );
|
||||
return;
|
||||
}
|
||||
|
||||
if( Cmd_Argc( ) == 2 )
|
||||
{
|
||||
// explicit filename
|
||||
|
|
Loading…
Reference in a new issue