git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9819
d7cf8633-e32d-0410-b094-
e92efae38249
}
}
+ // add any virtual packs in the directory
+ for (i = 0;i < list.numstrings;i++)
+ {
+ if (!strcasecmp(FS_FileExtension(list.strings[i]), "dir") || (!strcasecmp(FS_FileExtension(list.strings[i]), "d"))
+ // we don't want precedence of .d vs .dir, but use the name as primary key
+ {
+ FS_AddPack_Fullpath(list.strings[i], list.strings[i] + strlen(dir), NULL, false);
+ }
+ }
+
stringlistfreecontents(&list);
// Add the directory to the search path