summaryrefslogtreecommitdiff
path: root/src/doom/r_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doom/r_data.c')
-rw-r--r--src/doom/r_data.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/doom/r_data.c b/src/doom/r_data.c
index 505f1ff7..13c9eb98 100644
--- a/src/doom/r_data.c
+++ b/src/doom/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);
}