mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
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:
parent
eeea08cfa6
commit
7b0a4fb965
1 changed files with 2 additions and 5 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue