mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +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);
|
||||
|
||||
// Add group-specific wads
|
||||
if (group != NULL)
|
||||
if (group != NULL && group[0] != 0)
|
||||
{
|
||||
file = group;
|
||||
file += ".Autoload";
|
||||
|
@ -2039,7 +2039,7 @@ static void AddAutoloadFiles(const char *group, const char *autoname)
|
|||
}
|
||||
|
||||
// Add IWAD-specific wads
|
||||
if (autoname != NULL)
|
||||
if (autoname != NULL && autoname[0] != 0)
|
||||
{
|
||||
file = autoname;
|
||||
file += ".Autoload";
|
||||
|
|
Loading…
Reference in a new issue