diff options
Diffstat (limited to 'src/strife/r_draw.c')
-rw-r--r-- | src/strife/r_draw.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/strife/r_draw.c b/src/strife/r_draw.c index 79c571fe..bfe3470f 100644 --- a/src/strife/r_draw.c +++ b/src/strife/r_draw.c @@ -435,7 +435,7 @@ void R_DrawTRTLColumn(void) // haleyjd 08/26/10: [STRIFE] - Rogue's translucency lookup table // This is functionally equivalent to Raven's TINTTAB and BOOM's TRANMAPs. -byte *xlatab; +extern byte *xlatab; // // R_InitTranslationTables @@ -465,7 +465,9 @@ void R_InitTranslationTables (void) // just set the 2nd memset call's length to 0 bytes... Terrible. Since none // of this accomplishes anything, and isn't strictly portable, all we need // to do is this: - xlatab = W_CacheLumpName("XLATAB", PU_STATIC); + + // villsa [STRIFE] 09/26/10: load table through this function instead + V_LoadXlaTable(); // villsa [STRIFE] allocate a larger size for translation tables translationtables = Z_Malloc (256*8, PU_STATIC, 0); |