fix V_Init2() being called twice on startup
This commit is contained in:
parent
eb3a17c50f
commit
4350b72260
1 changed files with 1 additions and 4 deletions
|
|
@ -3331,7 +3331,7 @@ static int D_InitGame(const FIWADInfo* iwad_info, std::vector<std::string>& allw
|
|||
allwads.shrink_to_fit();
|
||||
SetMapxxFlag();
|
||||
|
||||
if (!restart)
|
||||
if (!(restart || norun))
|
||||
{
|
||||
// Note: this has to happen after the file system has been initialized (backends may load shaders during initialization)
|
||||
V_Init2();
|
||||
|
|
@ -3372,9 +3372,6 @@ static int D_InitGame(const FIWADInfo* iwad_info, std::vector<std::string>& allw
|
|||
exec = NULL;
|
||||
}
|
||||
|
||||
if (!(restart || norun))
|
||||
V_Init2();
|
||||
|
||||
// [RH] Initialize localizable strings.
|
||||
GStrings.LoadStrings(fileSystem, language);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue