summaryrefslogtreecommitdiff
path: root/src/heretic
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic')
-rw-r--r--src/heretic/r_data.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/heretic/r_data.c b/src/heretic/r_data.c
index 2192e8a6..9846196a 100644
--- a/src/heretic/r_data.c
+++ b/src/heretic/r_data.c
@@ -524,9 +524,8 @@ void R_InitColormaps(void)
// 256 byte align tables
//
lump = W_GetNumForName("COLORMAP");
- length = W_LumpLength(lump) + 255;
+ length = W_LumpLength(lump);
colormaps = Z_Malloc(length, PU_STATIC, 0);
- colormaps = (byte *) (((int) colormaps + 255) & ~0xff);
W_ReadLump(lump, colormaps);
}