mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-20 10:43:29 +00:00
[util] Check share path too when filling file lists
This fixes maplist showing only those maps in the user directory. However, no checking is done for duplicate files due to earlier search paths overriding later paths.
This commit is contained in:
parent
5333c78f7a
commit
749a110b76
1 changed files with 3 additions and 0 deletions
|
@ -1756,6 +1756,9 @@ QFS_FilelistFill (filelist_t *list, const char *path, const char *ext,
|
|||
for (search = vpath->user; search; search = search->next) {
|
||||
qfs_filelistfill_do (list, search, cp, ext, strip);
|
||||
}
|
||||
for (search = vpath->share; search; search = search->next) {
|
||||
qfs_filelistfill_do (list, search, cp, ext, strip);
|
||||
}
|
||||
}
|
||||
free (cpath);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue