r881 - trunk/code/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Aug 29 15:30:33 EDT 2006
Author: tma
Date: 2006-08-29 15:30:33 -0400 (Tue, 29 Aug 2006)
New Revision: 881
Modified:
trunk/code/client/cl_main.c
Log:
* Disable video command when not playing back a demo
Modified: trunk/code/client/cl_main.c
===================================================================
--- trunk/code/client/cl_main.c 2006-08-28 01:48:38 UTC (rev 880)
+++ trunk/code/client/cl_main.c 2006-08-29 19:30:33 UTC (rev 881)
@@ -2343,6 +2343,12 @@
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
More information about the quake3-commits
mailing list