summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames Haley2013-09-19 03:37:30 +0000
committerJames Haley2013-09-19 03:37:30 +0000
commit0ef3690cb4508ebbfcc26bb9e227bcb2319d8729 (patch)
tree171c4d10793d31e2d8bd9d46e10a34ac192ad744 /src
parent265b86d05d7ecc3e57e00d1238c4faf737cd2a70 (diff)
downloadchocolate-doom-0ef3690cb4508ebbfcc26bb9e227bcb2319d8729.tar.gz
chocolate-doom-0ef3690cb4508ebbfcc26bb9e227bcb2319d8729.tar.bz2
chocolate-doom-0ef3690cb4508ebbfcc26bb9e227bcb2319d8729.zip
Change to using V_DrawFilledBox to clear the intro screen instead of
loading and drawing PANEL0. Subversion-branch: /branches/v2-branch Subversion-revision: 2664
Diffstat (limited to 'src')
-rw-r--r--src/strife/d_main.c7
1 files 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