diff options
author | Simon Howard | 2008-10-01 19:03:51 +0000 |
---|---|---|
committer | Simon Howard | 2008-10-01 19:03:51 +0000 |
commit | d35a4b7cf3a206a35ac57e279fb36bad9436ab0b (patch) | |
tree | 83ac66521be9ba4b6ba83c76ce8057fde045717a /src/heretic/r_draw.c | |
parent | 738e91cd6052ddfd12651cd2f639888cbc64b05e (diff) | |
download | chocolate-doom-d35a4b7cf3a206a35ac57e279fb36bad9436ab0b.tar.gz chocolate-doom-d35a4b7cf3a206a35ac57e279fb36bad9436ab0b.tar.bz2 chocolate-doom-d35a4b7cf3a206a35ac57e279fb36bad9436ab0b.zip |
Merge tinttable variable to common.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1316
Diffstat (limited to 'src/heretic/r_draw.c')
-rw-r--r-- | src/heretic/r_draw.c | 4 |
1 files changed, 1 insertions, 3 deletions
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); |