shithub: choc

Download patch

ref: 7d259962ea7bbce0548974a70ea7f3f5f86620ce
parent: d42281c7a347f1581d188a50d717520ea425a15e
author: Simon Howard <fraggle@gmail.com>
date: Thu Sep 8 05:58:00 EDT 2005

MAXINTERCEPTS got converted to INT_MAXERCEPTS accidentally when switching
to the ANSI standard limit constants

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 93

--- a/src/p_local.h
+++ b/src/p_local.h
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: p_local.h 19 2005-07-23 19:17:11Z fraggle $
+// $Id: p_local.h 93 2005-09-08 09:58:00Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -158,9 +158,9 @@
     }			d;
 } intercept_t;
 
-#define INT_MAXERCEPTS	128
+#define MAXINTERCEPTS	128
 
-extern intercept_t	intercepts[INT_MAXERCEPTS];
+extern intercept_t	intercepts[MAXINTERCEPTS];
 extern intercept_t*	intercept_p;
 
 typedef boolean (*traverser_t) (intercept_t *in);
@@ -290,6 +290,10 @@
 //-----------------------------------------------------------------------------
 //
 // $Log$
+// Revision 1.4  2005/09/08 09:58:00  fraggle
+// MAXINTERCEPTS got converted to INT_MAXERCEPTS accidentally when switching
+// to the ANSI standard limit constants
+//
 // Revision 1.3  2005/07/23 19:17:11  fraggle
 // Use ANSI-standard limit constants.  Remove LINUX define.
 //
--- a/src/p_maputl.c
+++ b/src/p_maputl.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: p_maputl.c 37 2005-08-04 18:42:15Z fraggle $
+// $Id: p_maputl.c 93 2005-09-08 09:58:00Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -22,6 +22,10 @@
 // 02111-1307, USA.
 //
 // $Log$
+// Revision 1.5  2005/09/08 09:58:00  fraggle
+// MAXINTERCEPTS got converted to INT_MAXERCEPTS accidentally when switching
+// to the ANSI standard limit constants
+//
 // Revision 1.4  2005/08/04 18:42:15  fraggle
 // Silence compiler warnings
 //
@@ -44,7 +48,7 @@
 //-----------------------------------------------------------------------------
 
 static const char
-rcsid[] = "$Id: p_maputl.c 37 2005-08-04 18:42:15Z fraggle $";
+rcsid[] = "$Id: p_maputl.c 93 2005-09-08 09:58:00Z fraggle $";
 
 
 #include <stdlib.h>
@@ -560,7 +564,7 @@
 //
 // INTERCEPT ROUTINES
 //
-intercept_t	intercepts[INT_MAXERCEPTS];
+intercept_t	intercepts[MAXINTERCEPTS];
 intercept_t*	intercept_p;
 
 divline_t 	trace;