Merge branch 'master' of c:\programming\doom\zdoom

This commit is contained in:
Christoph Oelckers 2016-02-09 15:07:16 +01:00
commit d1f741a53d
2 changed files with 10 additions and 7 deletions

View file

@ -635,11 +635,11 @@ static void ParseFloor (FScanner &sc)
if (!picnum.Exists())
{
sc.MustGetString();
if (!opt)
{
Printf("Unknown flat %s\n", sc.String);
}
sc.MustGetString();
return;
}
sc.MustGetString ();

View file

@ -688,13 +688,16 @@ FHexenStartupScreen::FHexenStartupScreen(int max_progress, HRESULT &hr)
LayoutMainWindow (Window, NULL);
InvalidateRect (StartupScreen, NULL, TRUE);
if (DoomStartupInfo.Song.IsNotEmpty())
if (!batchrun)
{
S_ChangeMusic(DoomStartupInfo.Song.GetChars(), true, true);
}
else
{
S_ChangeMusic ("orb", true, true);
if (DoomStartupInfo.Song.IsNotEmpty())
{
S_ChangeMusic(DoomStartupInfo.Song.GetChars(), true, true);
}
else
{
S_ChangeMusic("orb", true, true);
}
}
hr = S_OK;
}