shithub: choc

Download patch

ref: 976ba58a655f3bba8da03e6f27710a56eb1d1272
parent: ae9721409b26837779d56eb3812178112b3e10ab
author: Simon Howard <fraggle@gmail.com>
date: Sun Oct 6 10:44:49 EDT 2013

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

Subversion-branch: /branches/v2-branch
Subversion-revision: 2692

--- 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