- fixed: The WAD manager's hash chains could not handle more than 65535 lumps.
- Reinitializing the WAD manager will now delete all data. - Preparation for GAMEINFO: zdoom.pk3 will be opened separately before checking the IWAD so that the internal GAMEINFOs can be externalized, too. SVN r1494 (trunk)
This commit is contained in:
parent
273e4a946d
commit
81f834e3f4
3 changed files with 23 additions and 11 deletions
|
|
@ -2239,6 +2239,13 @@ void D_DoomMain (void)
|
|||
I_FatalError ("Cannot find " BASEWAD);
|
||||
}
|
||||
|
||||
// Load zdoom.pk3 alone so that we can get access to the internal gameinfos before
|
||||
// the IWAD is known.
|
||||
wadlist_t *basewad = (wadlist_t*)M_Malloc(sizeof(wadlist_t) + strlen(wad));
|
||||
strcpy(basewad->name, wad);
|
||||
basewad->next = NULL;
|
||||
Wads.InitMultipleFiles(&basewad);
|
||||
|
||||
iwad_info = &IWADInfos[IdentifyVersion(wad)];
|
||||
I_SetIWADInfo(iwad_info);
|
||||
GameConfig->DoGameSetup (GameNames[gameinfo.gametype]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue