foxygit / doom Log in
commit 017afaf61c058770665ae7238ff0862f02eb8048
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Thu Oct 13 23:08:20 2011 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Thu Oct 13 23:08:20 2011 +0000

    Add temporary hack to fix Strife multiplayer startup when the intro
    screen is enabled.

    Subversion-branch: /branches/v2-branch
    Subversion-revision: 2421
---
 src/strife/d_main.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/strife/d_main.c b/src/strife/d_main.c
index 85a0bcde..62520e4f 100644
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -1878,6 +1878,15 @@ void D_DoomMain (void)
         DEH_printf("D_CheckNetGame: Checking network game status.\n");
     D_CheckNetGame ();

+    // STRIFE-TODO: This is a temporary hack. The startup splash screen
+    // stuff needs to be reworked.
+    // The netgame waiting screen killed the graphics display. Re-run
+    // I_InitGraphics() to bring it back again.
+    if (showintro && netgame)
+    {
+        I_InitGraphics();
+    }
+
     PrintGameVersion();

     if(devparm)