summaryrefslogtreecommitdiff
path: root/source/sv_mvd.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2009-10-24 13:30:49 +0000
committerAndrey Nazarov <skuller@skuller.net>2009-10-24 13:30:49 +0000
commit3c9ade8c4efe39e7705ae117e74156cc8bc5e825 (patch)
tree5d19891bf6fe5abfbd4d7f08c554a7e0318d6c71 /source/sv_mvd.c
parenta14fa9368486861e60ae2f92128e33783a469a5f (diff)
Added more missing NET_UpdateStream calls.
Diffstat (limited to 'source/sv_mvd.c')
-rw-r--r--source/sv_mvd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/sv_mvd.c b/source/sv_mvd.c
index f414105..644240f 100644
--- a/source/sv_mvd.c
+++ b/source/sv_mvd.c
@@ -788,6 +788,7 @@ static void suspend_streams( void ) {
#if USE_ZLIB
flush_stream( client, Z_SYNC_FLUSH );
#endif
+ NET_UpdateStream( &client->stream );
}
Com_DPrintf( "Suspending MVD streams.\n" );
mvd.active = qfalse;
@@ -806,6 +807,7 @@ static void resume_streams( void ) {
#if USE_ZLIB
flush_stream( client, Z_SYNC_FLUSH );
#endif
+ NET_UpdateStream( &client->stream );
}
// write it to demofile
@@ -1866,6 +1868,7 @@ void SV_MvdMapChanged( void ) {
// send gamestate to all MVD clients
FOR_EACH_ACTIVE_GTV( client ) {
write_message( client, GTS_STREAM_DATA );
+ NET_UpdateStream( &client->stream );
}
}