foxygit / doom Log in
commit 976ba58a655f3bba8da03e6f27710a56eb1d1272
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Oct 6 14:44:49 2013 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sun Oct 6 14:44:49 2013 +0000

    Fix RANGECHECK on V_DrawPatch() functions, so the game exits with an
    error at appropriate times.

    Subversion-branch: /branches/v2-branch
    Subversion-revision: 2692
---
 src/v_video.c | 4 ++++
 1 file changed, 4 insertions(+)

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