- fixed message output.

This commit is contained in:
Christoph Oelckers 2016-02-09 15:06:55 +01:00
parent 78ac944242
commit bcfb437302
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,13 +688,16 @@ FHexenStartupScreen::FHexenStartupScreen(int max_progress, HRESULT &hr)
LayoutMainWindow (Window, NULL); LayoutMainWindow (Window, NULL);
InvalidateRect (StartupScreen, NULL, TRUE); InvalidateRect (StartupScreen, NULL, TRUE);
if (DoomStartupInfo.Song.IsNotEmpty()) if (!batchrun)
{ {
S_ChangeMusic(DoomStartupInfo.Song.GetChars(), true, true); if (DoomStartupInfo.Song.IsNotEmpty())
} {
else S_ChangeMusic(DoomStartupInfo.Song.GetChars(), true, true);
{ }
S_ChangeMusic ("orb", true, true); else
{
S_ChangeMusic("orb", true, true);
}
} }
hr = S_OK; hr = S_OK;
} }