shithub: choc

Download patch

ref: 0ef3690cb4508ebbfcc26bb9e227bcb2319d8729
parent: 265b86d05d7ecc3e57e00d1238c4faf737cd2a70
author: James Haley <haleyjd@hotmail.com>
date: Wed Sep 18 23:37:30 EDT 2013

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

Subversion-branch: /branches/v2-branch
Subversion-revision: 2664

--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -1122,14 +1122,11 @@
 //
 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