From ba19fe1152a1e7caa494fd11cc69d2dd1c52e659 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Tue, 8 Feb 2011 20:24:41 +0000 Subject: [PATCH] Still not compiling when STANDALONE is set --- code/server/sv_client.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/server/sv_client.c b/code/server/sv_client.c index 2490ab55..6461b3d8 100644 --- a/code/server/sv_client.c +++ b/code/server/sv_client.c @@ -915,11 +915,15 @@ void SV_WriteDownloadToClient( client_t *cl , msg_t *msg ) } else if (idPack) { Com_Printf("clientDownload: %d : \"%s\" cannot download id pk3 files\n", (int) (cl - svs.clients), cl->downloadName); - if (missionPack) { +#ifndef STANDALONE + if(missionPack) + { Com_sprintf(errorMessage, sizeof(errorMessage), "Cannot autodownload Team Arena file \"%s\"\n" "The Team Arena mission pack can be found in your local game store.", cl->downloadName); } - else { + else +#endif + { Com_sprintf(errorMessage, sizeof(errorMessage), "Cannot autodownload id pk3 file \"%s\"", cl->downloadName); } }