From 0ef3690cb4508ebbfcc26bb9e227bcb2319d8729 Mon Sep 17 00:00:00 2001 From: James Haley Date: Thu, 19 Sep 2013 03:37:30 +0000 Subject: 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(-) (limited to 'src') 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 -- cgit v1.2.3