mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 05:01:40 +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 ];
|
char filename[ MAX_OSPATH ];
|
||||||
int i, last;
|
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 )
|
if( Cmd_Argc( ) == 2 )
|
||||||
{
|
{
|
||||||
// explicit filename
|
// explicit filename
|
||||||
|
|
Loading…
Reference in a new issue