Add .ssi to the list of file extensions loaded automatically when passing a directory with -game_dir

git-svn-id: https://svn.eduke32.com/eduke32@5667 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2016-03-14 00:07:55 +00:00
parent eeea08cfa6
commit 7b0a4fb965

View file

@ -960,14 +960,11 @@ void G_AddConModule(const char *buffer)
// loads all group (grp, zip, pk3/4) files in the given directory // loads all group (grp, zip, pk3/4) files in the given directory
void G_LoadGroupsInDir(const char *dirname) void G_LoadGroupsInDir(const char *dirname)
{ {
static const char *extensions[4] = { "*.grp", "*.zip", "*.pk3", "*.pk4" }; static const char *extensions[] = { "*.grp", "*.zip", "*.ssi", "*.pk3", "*.pk4" };
char buf[BMAX_PATH]; char buf[BMAX_PATH];
int32_t i;
fnlist_t fnlist = FNLIST_INITIALIZER; fnlist_t fnlist = FNLIST_INITIALIZER;
for (i=0; i<4; i++) for (unsigned i=0; i<(sizeof(extensions)/sizeof(extensions[0])); i++)
{ {
CACHE1D_FIND_REC *rec; CACHE1D_FIND_REC *rec;