- automatically create autoload section based on IWADINFO.
This has an important implication: Previously the config was loaded before IWADINFO so in order to allow the config to access the data this had to be switched around. This means that zdoom.pk3 will not be looked for in the global IWAD search paths anymore, but since it shouldn't be there to begin with it should be an acceptable compromise.
This commit is contained in:
parent
258822ef3b
commit
dfda74ffe3
7 changed files with 68 additions and 41 deletions
|
|
@ -410,9 +410,9 @@ CCMD (writeini)
|
|||
// M_LoadDefaults
|
||||
//
|
||||
|
||||
void M_LoadDefaults ()
|
||||
void M_LoadDefaults (FIWadManager *iwad_man)
|
||||
{
|
||||
GameConfig = new FGameConfigFile;
|
||||
GameConfig = new FGameConfigFile(iwad_man);
|
||||
GameConfig->DoGlobalSetup ();
|
||||
atterm (M_SaveDefaultsFinal);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue