From 7b0a4fb965156e9a4480bb66189c0d32624b5720 Mon Sep 17 00:00:00 2001 From: terminx Date: Mon, 14 Mar 2016 00:07:55 +0000 Subject: [PATCH] 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 --- polymer/eduke32/source/common.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/polymer/eduke32/source/common.c b/polymer/eduke32/source/common.c index 032bc40ba..715f59c51 100644 --- a/polymer/eduke32/source/common.c +++ b/polymer/eduke32/source/common.c @@ -960,14 +960,11 @@ void G_AddConModule(const char *buffer) // loads all group (grp, zip, pk3/4) files in the given directory 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]; - int32_t i; - 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;