shithub: choc

Download patch

ref: 8eba353126080a0fd16586b8a23aab6fe384afa4
parent: af2add1cbef05bf05fe6a59f84975caabe0779c0
author: Simon Howard <[email protected]>
date: Fri Sep 26 18:46:05 EDT 2008

Fix compile error.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1290

--- a/src/heretic/p_setup.c
+++ b/src/heretic/p_setup.c
@@ -484,7 +484,7 @@
     }
 
 // build line tables for each sector    
-    linebuffer = Z_Malloc(total * sizeof(linebuffer_t *), PU_LEVEL, 0);
+    linebuffer = Z_Malloc(total * sizeof(line_t *), PU_LEVEL, 0);
     sector = sectors;
     for (i = 0; i < numsectors; i++, sector++)
     {