mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- fixed: Don't try to load autoload sections for empty section names.
This commit is contained in:
parent
0ae74b844d
commit
a91997d12c
1 changed files with 2 additions and 2 deletions
|
@ -2031,7 +2031,7 @@ static void AddAutoloadFiles(const char *group, const char *autoname)
|
||||||
D_AddConfigWads (allwads, file);
|
D_AddConfigWads (allwads, file);
|
||||||
|
|
||||||
// Add group-specific wads
|
// Add group-specific wads
|
||||||
if (group != NULL)
|
if (group != NULL && group[0] != 0)
|
||||||
{
|
{
|
||||||
file = group;
|
file = group;
|
||||||
file += ".Autoload";
|
file += ".Autoload";
|
||||||
|
@ -2039,7 +2039,7 @@ static void AddAutoloadFiles(const char *group, const char *autoname)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add IWAD-specific wads
|
// Add IWAD-specific wads
|
||||||
if (autoname != NULL)
|
if (autoname != NULL && autoname[0] != 0)
|
||||||
{
|
{
|
||||||
file = autoname;
|
file = autoname;
|
||||||
file += ".Autoload";
|
file += ".Autoload";
|
||||||
|
|
Loading…
Reference in a new issue