mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- port over -noautoexec
that I did from GZDoom
This commit is contained in:
parent
5ad1d74f62
commit
4c0591a25b
1 changed files with 2 additions and 1 deletions
|
@ -535,7 +535,8 @@ 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;
|
||||||
GameConfig->AddAutoexec(execFiles, game);
|
if (!(Args->CheckParm("-noautoexec")))
|
||||||
|
GameConfig->AddAutoexec(execFiles, game);
|
||||||
exec = D_MultiExec(execFiles, NULL);
|
exec = D_MultiExec(execFiles, NULL);
|
||||||
delete execFiles;
|
delete execFiles;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue