summaryrefslogtreecommitdiff
path: root/src/hexen
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen')
-rw-r--r--src/hexen/r_draw.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/hexen/r_draw.c b/src/hexen/r_draw.c
index e606233d..a4bb2403 100644
--- a/src/hexen/r_draw.c
+++ b/src/hexen/r_draw.c
@@ -328,9 +328,7 @@ void R_InitTranslationTables(void)
V_LoadTintTable();
// Allocate translation tables
- translationtables = Z_Malloc(256 * 3 * (MAXPLAYERS - 1) + 255,
- PU_STATIC, 0);
- translationtables = (byte *) (((int) translationtables + 255) & ~255);
+ translationtables = Z_Malloc(256 * 3 * (MAXPLAYERS - 1), PU_STATIC, 0);
for (i = 0; i < 3 * (MAXPLAYERS - 1); i++)
{