From 976ba58a655f3bba8da03e6f27710a56eb1d1272 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 6 Oct 2013 14:44:49 +0000 Subject: 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(+) (limited to 'src') 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 -- cgit v1.2.3