summaryrefslogtreecommitdiff
path: root/src/doom
diff options
context:
space:
mode:
Diffstat (limited to 'src/doom')
-rw-r--r--src/doom/r_defs.h2
-rw-r--r--src/doom/r_plane.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doom/r_defs.h b/src/doom/r_defs.h
index a64ac842..b8b308a0 100644
--- a/src/doom/r_defs.h
+++ b/src/doom/r_defs.h
@@ -48,7 +48,7 @@
#define SIL_TOP 2
#define SIL_BOTH 3
-#define MAXDRAWSEGS 256
+#define MAXDRAWSEGS 256*8
diff --git a/src/doom/r_plane.c b/src/doom/r_plane.c
index ea1611c2..e5987de8 100644
--- a/src/doom/r_plane.c
+++ b/src/doom/r_plane.c
@@ -42,7 +42,7 @@ planefunction_t ceilingfunc;
//
// Here comes the obnoxious "visplane".
-#define MAXVISPLANES 128
+#define MAXVISPLANES 128*8
visplane_t visplanes[MAXVISPLANES];
visplane_t* lastvisplane;
visplane_t* floorplane;