diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-08-29 19:30:33 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-08-29 19:30:33 +0000 |
commit | 1dfbd250b99d1d2875e661f3a7c09d616ff471cc (patch) | |
tree | 813732c80ed6dfed1c795022090d96edeca3b7aa | |
parent | dbe1df6d2ec95e681153e37c003f195259b6b54d (diff) | |
download | ioquake3-aero-1dfbd250b99d1d2875e661f3a7c09d616ff471cc.tar.gz ioquake3-aero-1dfbd250b99d1d2875e661f3a7c09d616ff471cc.zip |
* Disable video command when not playing back a demo
git-svn-id: svn://svn.icculus.org/quake3/trunk@881 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | code/client/cl_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/code/client/cl_main.c b/code/client/cl_main.c index 2df8cb1..e05a640 100644 --- a/code/client/cl_main.c +++ b/code/client/cl_main.c @@ -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 |