From 1dfbd250b99d1d2875e661f3a7c09d616ff471cc Mon Sep 17 00:00:00 2001 From: tma Date: Tue, 29 Aug 2006 19:30:33 +0000 Subject: * Disable video command when not playing back a demo git-svn-id: svn://svn.icculus.org/quake3/trunk@881 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/cl_main.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3