mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +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
|
||||
FExecList *exec;
|
||||
FArgs *execFiles = new FArgs;
|
||||
GameConfig->AddAutoexec(execFiles, game);
|
||||
if (!(Args->CheckParm("-noautoexec")))
|
||||
GameConfig->AddAutoexec(execFiles, game);
|
||||
exec = D_MultiExec(execFiles, NULL);
|
||||
delete execFiles;
|
||||
|
||||
|
|
Loading…
Reference in a new issue