summaryrefslogtreecommitdiff
path: root/src/heretic
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic')
-rw-r--r--src/heretic/r_draw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/heretic/r_draw.c b/src/heretic/r_draw.c
index f795b318..5a20b50a 100644
--- a/src/heretic/r_draw.c
+++ b/src/heretic/r_draw.c
@@ -244,8 +244,7 @@ void R_InitTranslationTables(void)
V_LoadTintTable();
// Allocate translation tables
- translationtables = Z_Malloc(256 * 3 + 255, PU_STATIC, 0);
- translationtables = (byte *) (((int) translationtables + 255) & ~255);
+ translationtables = Z_Malloc(256 * 3, PU_STATIC, 0);
// Fill out the translation tables
for (i = 0; i < 256; i++)