summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2013-10-06 14:44:49 +0000
committerSimon Howard2013-10-06 14:44:49 +0000
commit976ba58a655f3bba8da03e6f27710a56eb1d1272 (patch)
treee85bcd6504713eb28a9165d00539ed6a14efb673
parentae9721409b26837779d56eb3812178112b3e10ab (diff)
downloadchocolate-doom-976ba58a655f3bba8da03e6f27710a56eb1d1272.tar.gz
chocolate-doom-976ba58a655f3bba8da03e6f27710a56eb1d1272.tar.bz2
chocolate-doom-976ba58a655f3bba8da03e6f27710a56eb1d1272.zip
Fix RANGECHECK on V_DrawPatch() functions, so the game exits with an
error at appropriate times. Subversion-branch: /branches/v2-branch Subversion-revision: 2692
-rw-r--r--src/v_video.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/v_video.c b/src/v_video.c
index 56207d64..0cf64926 100644
--- a/src/v_video.c
+++ b/src/v_video.c
@@ -44,6 +44,10 @@
#include "w_wad.h"
#include "z_zone.h"
+// TODO: There are separate RANGECHECK defines for different games, but this
+// is common code. Fix this.
+#define RANGECHECK
+
// Blending table used for fuzzpatch, etc.
// Only used in Heretic/Hexen