summaryrefslogtreecommitdiff
path: root/src/heretic
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic')
-rw-r--r--src/heretic/d_main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/heretic/d_main.c b/src/heretic/d_main.c
index 6dc29cf7..5d9def79 100644
--- a/src/heretic/d_main.c
+++ b/src/heretic/d_main.c
@@ -250,7 +250,6 @@ void D_DoomLoop(void)
sprintf(filename, "debug%i.txt", consoleplayer);
debugfile = fopen(filename, "w");
}
- I_SetWindowTitle(gamedescription);
I_GraphicsCheckCommandLine();
I_InitGraphics();
I_SetGrabMouseCallback(D_GrabMouseCallback);
@@ -638,6 +637,9 @@ void initStartup(void)
return;
}
+ I_InitWindowTitle();
+ I_InitWindowIcon();
+
// Blit main screen
textScreen = TXT_GetScreenData();
loading = W_CacheLumpName(DEH_String("LOADING"), PU_CACHE);
@@ -1021,6 +1023,8 @@ void D_DoomMain(void)
gamedescription = "Heretic (registered)";
}
+ I_SetWindowTitle(gamedescription);
+
savegamedir = M_GetSaveGameDir("heretic.wad");
I_PrintStartupBanner(gamedescription);