From 041dcbe4e90ea73facffc9c134be43daa06ae34e Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 7 Jul 2009 23:50:02 +0000 Subject: [PATCH] Yibble. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3248 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- fteqtv/parse.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fteqtv/parse.c b/fteqtv/parse.c index 1014daefd..9cba008a8 100644 --- a/fteqtv/parse.c +++ b/fteqtv/parse.c @@ -1707,11 +1707,14 @@ void ParseMessage(sv_t *tv, void *buffer, int length, int to, int mask) } else { + char buffer[512]; + strcpy(tv->status, "Downloading map\n"); Sys_Printf(tv->cluster, "Attempting download of %s\n", tv->downloadname); SendClientCommand(tv, "download %s\n", tv->map.modellist[1].name); - QW_StreamPrint(tv->cluster, tv, NULL, "[QTV] Attempting map download (%s)\n", tv->map.modellist[1].name); + snprintf(buffer, sizeof(buffer), "[QTV] Attempting map download (%s)\n", tv->map.modellist[1].name); + QW_StreamPrint(tv->cluster, tv, NULL, buffer); } } else