diff options
Diffstat (limited to 'src/hexen')
-rw-r--r-- | src/hexen/r_data.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hexen/r_data.c b/src/hexen/r_data.c index 3c2c652f..bd020073 100644 --- a/src/hexen/r_data.c +++ b/src/hexen/r_data.c @@ -499,9 +499,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); } |