Use correct path to filelists when downloading for a mod.

I'm not 100% sure if this is okay for q2pro, but at least in my simple
tests r1q2, q2pro and now yq2 generate the same URL. Nevertheless it's
somewhat inconssistent to search generic files at /moddir/... and the
filelist at /moddir.filelist

This closes issue #370.
This commit is contained in:
Yamagi Burmeister 2019-02-11 19:27:34 +01:00
parent 32d9119cff
commit 8c60939bd5

View file

@ -1041,7 +1041,7 @@ qboolean CL_QueueHTTPDownload(const char *quakePath, qboolean gamedirForFilelist
{
char fileList[MAX_OSPATH];
Com_sprintf(fileList, sizeof(fileList), "/%s/%s", downloadGamedir, ".filelist");
Com_sprintf(fileList, sizeof(fileList), "/%s%s", downloadGamedir, ".filelist");
CL_QueueHTTPDownload(fileList, false);
}
else