diff options
Diffstat (limited to 'src/heretic/p_setup.c')
-rw-r--r-- | src/heretic/p_setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/p_setup.c b/src/heretic/p_setup.c index b1a4f2ce..11e3ad95 100644 --- a/src/heretic/p_setup.c +++ b/src/heretic/p_setup.c @@ -484,7 +484,7 @@ void P_GroupLines(void) } // build line tables for each sector - linebuffer = Z_Malloc(total * 4, PU_LEVEL, 0); + linebuffer = Z_Malloc(total * sizeof(linebuffer_t *), PU_LEVEL, 0); sector = sectors; for (i = 0; i < numsectors; i++, sector++) { |