From d35a4b7cf3a206a35ac57e279fb36bad9436ab0b Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 1 Oct 2008 19:03:51 +0000 Subject: Merge tinttable variable to common. Subversion-branch: /branches/raven-branch Subversion-revision: 1316 --- src/heretic/r_draw.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/heretic') diff --git a/src/heretic/r_draw.c b/src/heretic/r_draw.c index 468645f6..23726b9c 100644 --- a/src/heretic/r_draw.c +++ b/src/heretic/r_draw.c @@ -39,7 +39,6 @@ int viewwidth, scaledviewwidth, viewheight, viewwindowx, viewwindowy; byte *ylookup[MAXHEIGHT]; int columnofs[MAXWIDTH]; byte translations[3][256]; // color tables for different players -byte *tinttable; // used for translucent sprites /* ================== @@ -241,8 +240,7 @@ void R_InitTranslationTables(void) { int i; - // Load tint table - tinttable = W_CacheLumpName("TINTTAB", PU_STATIC); + V_LoadTintTable(); // Allocate translation tables translationtables = Z_Malloc(256 * 3 + 255, PU_STATIC, 0); -- cgit v1.2.3