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/hexen | |
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/hexen')
-rw-r--r-- | src/hexen/r_draw.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/hexen/r_draw.c b/src/hexen/r_draw.c index 915d25b9..04d4009d 100644 --- a/src/hexen/r_draw.c +++ b/src/hexen/r_draw.c @@ -40,7 +40,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 /* ================== @@ -332,8 +331,7 @@ void R_InitTranslationTables(void) int i; byte *transLump; - // Load tint table - tinttable = W_CacheLumpName("TINTTAB", PU_STATIC); + V_LoadTintTable(); // Allocate translation tables translationtables = Z_Malloc(256 * 3 * (MAXPLAYERS - 1) + 255, |