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()) if (!picnum.Exists())
{ {
sc.MustGetString();
if (!opt) if (!opt)
{ {
Printf("Unknown flat %s\n", sc.String); Printf("Unknown flat %s\n", sc.String);
} }
sc.MustGetString();
return; return;
} }
sc.MustGetString (); sc.MustGetString ();

View file

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