diff options
Diffstat (limited to 'src/r_data.c')
-rw-r--r-- | src/r_data.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/r_data.c b/src/r_data.c index ccfc5efe..a9f8920c 100644 --- a/src/r_data.c +++ b/src/r_data.c @@ -199,10 +199,7 @@ R_DrawColumnInCache int count; int position; byte* source; - byte* dest; - - dest = (byte *)cache + 3; - + while (patch->topdelta != 0xff) { source = (byte *)patch + 3; @@ -694,12 +691,11 @@ void R_InitSpriteLumps (void) // void R_InitColormaps (void) { - int lump, length; - + int lump; + // Load in the light tables, // 256 byte align tables. lump = W_GetNumForName(DEH_String("COLORMAP")); - length = W_LumpLength (lump); colormaps = W_CacheLumpNum(lump, PU_STATIC); } |