- port over -noautoexec that I did from GZDoom

This commit is contained in:
Rachael Alexanderson 2021-02-21 11:12:19 -05:00
parent 5ad1d74f62
commit 4c0591a25b

View file

@ -535,6 +535,7 @@ void G_ReadConfig(const char* game)
// Process automatically executed files // Process automatically executed files
FExecList *exec; FExecList *exec;
FArgs *execFiles = new FArgs; FArgs *execFiles = new FArgs;
if (!(Args->CheckParm("-noautoexec")))
GameConfig->AddAutoexec(execFiles, game); GameConfig->AddAutoexec(execFiles, game);
exec = D_MultiExec(execFiles, NULL); exec = D_MultiExec(execFiles, NULL);
delete execFiles; delete execFiles;