foxygit / doom Log in
commit 7d259962ea7bbce0548974a70ea7f3f5f86620ce
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Thu Sep 8 09:58:00 2005 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Thu Sep 8 09:58:00 2005 +0000

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

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 93
---
 src/p_local.h  | 10 +++++++---
 src/p_maputl.c | 10 +++++++---
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/src/p_local.h b/src/p_local.h
index 62e8a579..00bd290f 100644
--- 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 @@ typedef struct
     }			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 @@ P_DamageMobj
 //-----------------------------------------------------------------------------
 //
 // $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.
 //
diff --git a/src/p_maputl.c b/src/p_maputl.c
index 8a7eac1e..81e82e0c 100644
--- 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 @@ P_BlockThingsIterator
 //
 // INTERCEPT ROUTINES
 //
-intercept_t	intercepts[INT_MAXERCEPTS];
+intercept_t	intercepts[MAXINTERCEPTS];
 intercept_t*	intercept_p;

 divline_t 	trace;