diff --git a/source/core/gamecontrol.cpp b/source/core/gamecontrol.cpp index 93676b815..84753d9d4 100644 --- a/source/core/gamecontrol.cpp +++ b/source/core/gamecontrol.cpp @@ -774,7 +774,7 @@ static TArray SetupGame() { for (unsigned i = 0; i < groups.Size(); ++i) { - FString& basename = groups[i].FileName; + FString& basename = groups[i].FileInfo.name; if (stricmp(basename, defaultiwad) == 0) { pick = i; @@ -807,7 +807,7 @@ static TArray SetupGame() autoloadbrightmaps = !!(flags & 4); autoloadwidescreen = !!(flags & 8); // The newly selected IWAD becomes the new default - defaultiwad = groups[pick].FileName; + defaultiwad = groups[pick].FileInfo.name; } groupno = pick; }