diff options
author | Andrey Nazarov <skuller@skuller.net> | 2009-04-22 23:40:03 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2009-04-22 23:40:03 +0000 |
commit | 275f310df767a57b8cf409acdcbd14c63cb90df9 (patch) | |
tree | 3b59e2751c32b2f15fcfabb1af8b03e702cd5230 /source/sv_mvd.c | |
parent | 385ccd0e9a518933019a8c6f1fecad2ae660b766 (diff) |
Don't execute ‘cl_beginmapcmd’, ‘cl_changemapcmd’ and ‘cl_disconnectcmd’ triggers when playing back demos.
Fixed automatic restart of sound subsystem after cvar change not working randomly.
Don't crash in CL_Disconnect() on dedicated server exit.
Added ‘sv_redirect_address’ variable.
Fixed ‘\r’ char not stripped properly from filename when processing ‘\include’ directive in AC config files.
Made AC config parser compliant with reference format as defined by R1Q2 implementation.
Updated documentation.
Diffstat (limited to 'source/sv_mvd.c')
-rw-r--r-- | source/sv_mvd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/sv_mvd.c b/source/sv_mvd.c index 2bd373b..12fe860 100644 --- a/source/sv_mvd.c +++ b/source/sv_mvd.c @@ -570,7 +570,7 @@ static void emit_gamestate( void ) { entity_state_t *es; size_t length; int flags, extra, portalbytes; - byte portalbits[MAX_MAP_AREAS/8]; + byte portalbits[MAX_MAP_PORTAL_BYTES]; // pack MVD stream flags into extra bits extra = 0; @@ -679,7 +679,7 @@ static void emit_frame( void ) { entity_state_t *oldes, *newes; edict_t *ent; int flags, portalbytes; - byte portalbits[MAX_MAP_AREAS/8]; + byte portalbits[MAX_MAP_PORTAL_BYTES]; int i; MSG_WriteByte( mvd_frame ); @@ -2075,7 +2075,7 @@ static void SV_MvdRecord_f( void ) { while( ( c = Cmd_ParseOptions( o_record ) ) != -1 ) { switch( c ) { case 'h': - Cmd_PrintUsage( o_record, "[/]<filename>" ); + Cmd_PrintUsage( o_record, "<filename>" ); Com_Printf( "Begin local MVD recording.\n" ); Cmd_PrintHelp( o_record ); return; |