summaryrefslogtreecommitdiff
path: root/source/mvd_parse.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-09-28 18:03:56 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-09-28 18:03:56 +0000
commitcbe71bc9831ea939c86dae6a6ebbd92bdebf8fbf (patch)
tree42bb9a8aee2310bb2e9fbd3ebeae315603e1c004 /source/mvd_parse.c
parentb952a73bd5087e2b2e25a143c58c1f1d25e7cd3a (diff)
Made MVD observers switch to the previous chase target during map change
after the intermission. Ensure end-of-match scoreboard and MVD client list are reliably delivered. Properly reset cursor position when switching between layouts.
Diffstat (limited to 'source/mvd_parse.c')
-rw-r--r--source/mvd_parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/mvd_parse.c b/source/mvd_parse.c
index d587d1e..5873bcf 100644
--- a/source/mvd_parse.c
+++ b/source/mvd_parse.c
@@ -298,7 +298,7 @@ static void MVD_UnicastLayout( mvd_t *mvd, qboolean reliable, mvd_player_t *play
MSG_ReadString( mvd->layout, sizeof( mvd->layout ) );
- // send to all relevant clients
+ // force an update to all relevant clients
LIST_FOR_EACH( udpClient_t, client, &mvd->udpClients, entry ) {
if( client->cl->state < cs_spawned ) {
continue;
@@ -1021,6 +1021,7 @@ static void MVD_ParseServerData( mvd_t *mvd ) {
MVD_CheckActive( mvd );
}
+ // case all UDP clients to reconnect
MVD_ChangeLevel( mvd );
}