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

View file

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