aboutsummaryrefslogtreecommitdiffstats
path: root/code/server
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-05-15 19:50:44 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-05-15 19:50:44 +0000
commite40bef6a7abdcb1ec0d67e239bf9e325b48def27 (patch)
tree022b6a1ffb708fb70bc4d3123a65d78360a97e53 /code/server
parent52c9ab29da968989517b20ba84a376dee91690c9 (diff)
downloadioquake3-aero-e40bef6a7abdcb1ec0d67e239bf9e325b48def27.tar.gz
ioquake3-aero-e40bef6a7abdcb1ec0d67e239bf9e325b48def27.zip
Fixed missing initialization of idPack and missionPack variables which may result in failure to autodownload files from the server even if legitimate.
git-svn-id: svn://svn.icculus.org/quake3/trunk@781 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/server')
-rw-r--r--code/server/sv_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/server/sv_client.c b/code/server/sv_client.c
index c170866..91e2123 100644
--- a/code/server/sv_client.c
+++ b/code/server/sv_client.c
@@ -756,7 +756,7 @@ void SV_WriteDownloadToClient( client_t *cl , msg_t *msg )
int curindex;
int rate;
int blockspersnap;
- int idPack, missionPack, unreferenced = 1;
+ int idPack = 0, missionPack = 0, unreferenced = 1;
char errorMessage[1024];
char pakbuf[MAX_QPATH], *pakptr;
int numRefPaks;