Fix MSVC build error caused by the use of a C99 feature (that should have been added to the compiler about 13 years ago)

git-svn-id: https://svn.eduke32.com/eduke32@2743 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2012-06-07 02:59:24 +00:00
parent f9077dc9cd
commit 169587b5b4

View file

@ -10352,16 +10352,18 @@ int32_t ExtInit(void)
}
}
const char *grpfile = G_GrpFile();
i = initgroupfile(grpfile);
if (!NoAutoLoad)
{
G_LoadGroupsInDir("autoload");
const char *grpfile = G_GrpFile();
if (i != -1)
G_DoAutoload(grpfile);
i = initgroupfile(grpfile);
if (!NoAutoLoad)
{
G_LoadGroupsInDir("autoload");
if (i != -1)
G_DoAutoload(grpfile);
}
}
}