- Implemented Gez's suggestion for disable autoload checkbox on the IWAD selection box.

(cherry picked from commit 578e3270e2)
This commit is contained in:
Rachael Alexanderson 2016-12-20 23:03:06 -05:00 committed by Christoph Oelckers
commit 240f973f0c
4 changed files with 18 additions and 6 deletions

View file

@ -205,6 +205,8 @@ CUSTOM_CVAR (String, vid_cursor, "None", CVAR_ARCHIVE | CVAR_NOINITCALL)
}
}
bool disableautoload = false; // [SP] No auto load
bool wantToRestart;
bool DrawFSHUD; // [RH] Draw fullscreen HUD?
TArray<FString> allwads;
@ -2038,7 +2040,7 @@ static void AddAutoloadFiles(const char *autoname)
{
LumpFilterIWAD.Format("%s.", autoname); // The '.' is appened to simplify parsing the string
if (!(gameinfo.flags & GI_SHAREWARE) && !Args->CheckParm("-noautoload"))
if (!(gameinfo.flags & GI_SHAREWARE) && !Args->CheckParm("-noautoload") && !disableautoload)
{
FString file;