summaryrefslogtreecommitdiff
path: root/source/mvd_parse.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-09-26 19:57:25 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-09-26 19:57:25 +0000
commitaa597241c1021d9ffee503a48e81fbbfa6141287 (patch)
tree0c11867ca7ada74444c29341b5e5f489fe398671 /source/mvd_parse.c
parentcb9fb567a6a341b9894b05ee229b5c95ec5f82c6 (diff)
Removed useless `net_tcp_clientport' cvar.
Server no longer honours `port' cvar, `net_port' should be used instead. Server no longer searches for a free port and fails to start after the first unsuccessful attempt. Added documentation of the network stuff. Do not optimize `oldorigin' stuff on player entities for non-Q2PRO clients. Only active MVD channels are now listed in the menu.
Diffstat (limited to 'source/mvd_parse.c')
-rw-r--r--source/mvd_parse.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/mvd_parse.c b/source/mvd_parse.c
index 8e3da08..dccd689 100644
--- a/source/mvd_parse.c
+++ b/source/mvd_parse.c
@@ -1004,6 +1004,7 @@ static void MVD_ParseServerData( mvd_t *mvd ) {
// parse baseline frame
MVD_ParseFrame( mvd );
+ // if the channel has been just created, init some things
if( mvd->state < MVD_WAITING ) {
mvd_t *cur;
@@ -1016,7 +1017,9 @@ static void MVD_ParseServerData( mvd_t *mvd ) {
List_Append( &cur->ready, &mvd->ready );
mvd->state = mvd->demoplayback ? MVD_READING : MVD_WAITING;
mvd->waitTime = svs.realtime;
- mvd_dirty = qtrue;
+
+ // for local client
+ MVD_CheckActive( mvd );
}
MVD_ChangeLevel( mvd );