summaryrefslogtreecommitdiff
path: root/source/sv_mvd.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-03-05 20:14:36 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-03-05 20:14:36 +0000
commitbf0e48bb73e2d6846e15335e3625290d1f9ebc52 (patch)
treee2804860de7d1b59c263ec04f81044b35a7369f2 /source/sv_mvd.c
parent856cdd0f2fafeaa31c7398c8877180c68364842d (diff)
Rewrote autocompletion engine.
Added `con_notifylines' variable. Do not allow chat beeps to overlap.
Diffstat (limited to 'source/sv_mvd.c')
-rw-r--r--source/sv_mvd.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/sv_mvd.c b/source/sv_mvd.c
index 31c443e..04c1849 100644
--- a/source/sv_mvd.c
+++ b/source/sv_mvd.c
@@ -887,6 +887,12 @@ void SV_MvdRecStop( void ) {
sv.mvd.file = 0;
}
+static void MVD_Record_c( genctx_t *ctx, int argnum ) {
+ if( argnum == 1 ) {
+ MVD_File_g( ctx );
+ }
+}
+
/*
==============
MVD_Record_f
@@ -990,7 +996,7 @@ static void MVD_Stuff_f( void ) {
}
static const cmdreg_t c_svmvd[] = {
- { "mvdrecord", MVD_Record_f, MVD_Play_g },
+ { "mvdrecord", MVD_Record_f, MVD_Record_c },
{ "mvdstop", MVD_Stop_f },
{ "mvdstuff", MVD_Stuff_f },