foxygit / doom Log in
commit 0ef3690cb4508ebbfcc26bb9e227bcb2319d8729
Author:     James Haley <haleyjd@hotmail.com>
AuthorDate: Thu Sep 19 03:37:30 2013 +0000
Commit:     James Haley <haleyjd@hotmail.com>
CommitDate: Thu Sep 19 03:37:30 2013 +0000

    Change to using V_DrawFilledBox to clear the intro screen instead of
    loading and drawing PANEL0.

    Subversion-branch: /branches/v2-branch
    Subversion-revision: 2664
---
 src/strife/d_main.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/strife/d_main.c b/src/strife/d_main.c
index a3179359..3d0d269c 100644
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -1122,14 +1122,11 @@ static byte *rawgfx_startbot;
 //
 static void D_IntroBackground(void)
 {
-    patch_t *panel0;
-
     if(!showintro)
         return;

-    // Slam up PANEL0 to fill the background entirely (wasn't needed in vanilla)
-    panel0 = W_CacheLumpName("PANEL0", PU_CACHE);
-    V_DrawPatch(0, 0, panel0);
+    // Fill the background entirely (wasn't needed in vanilla)
+    V_DrawFilledBox(0, 0, SCREENWIDTH, SCREENHEIGHT, 0);

     // Strife cleared the screen somewhere in the low-level code between the
     // intro and the titlescreen, so this is to take care of that and get