mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-29 07:02:08 +00:00
One last (hopefully) fix to "maplist" command.
It now lists pak names correctly as it searches them.
This commit is contained in:
parent
9a9b1a01be
commit
c097e1a282
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ void COM_Maplist_f (void)
|
||||||
if (search->pack) {
|
if (search->pack) {
|
||||||
int i;
|
int i;
|
||||||
pack_t *pak = search->pack;
|
pack_t *pak = search->pack;
|
||||||
Con_Printf ("Looking in %s...\n",search->filename);
|
Con_Printf ("Looking in %s...\n",search->pack->filename);
|
||||||
for (i=0 ; i<pak->numfiles ; i++) {
|
for (i=0 ; i<pak->numfiles ; i++) {
|
||||||
char *name=pak->files[i].name;
|
char *name=pak->files[i].name;
|
||||||
if (!fnmatch ("maps/*.bsp", name, FNM_PATHNAME)
|
if (!fnmatch ("maps/*.bsp", name, FNM_PATHNAME)
|
||||||
|
|
Loading…
Reference in a new issue