diff options
author | Simon Howard | 2005-07-23 19:17:11 +0000 |
---|---|---|
committer | Simon Howard | 2005-07-23 19:17:11 +0000 |
commit | 14737bd64c6b7f0a02c4f26055d5f9a93c6cac53 (patch) | |
tree | 71cbe04b34c31bb68e7e65f849b047b6f6238206 /src/p_floor.c | |
parent | 5d20ead2d8367889a9c66b625d225fadd3263d0a (diff) | |
download | chocolate-doom-14737bd64c6b7f0a02c4f26055d5f9a93c6cac53.tar.gz chocolate-doom-14737bd64c6b7f0a02c4f26055d5f9a93c6cac53.tar.bz2 chocolate-doom-14737bd64c6b7f0a02c4f26055d5f9a93c6cac53.zip |
Use ANSI-standard limit constants. Remove LINUX define.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 19
Diffstat (limited to 'src/p_floor.c')
-rw-r--r-- | src/p_floor.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/p_floor.c b/src/p_floor.c index 378f983c..ca877a7a 100644 --- a/src/p_floor.c +++ b/src/p_floor.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: p_floor.c 8 2005-07-23 16:44:57Z fraggle $ +// $Id: p_floor.c 19 2005-07-23 19:17:11Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.3 2005/07/23 19:17:11 fraggle +// Use ANSI-standard limit constants. Remove LINUX define. +// // Revision 1.2 2005/07/23 16:44:56 fraggle // Update copyright to GNU GPL // @@ -35,7 +38,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: p_floor.c 8 2005-07-23 16:44:57Z fraggle $"; +rcsid[] = "$Id: p_floor.c 19 2005-07-23 19:17:11Z fraggle $"; #include "z_zone.h" @@ -384,7 +387,7 @@ EV_DoFloor case raiseToTexture: { - int minsize = MAXINT; + int minsize = INT_MAX; side_t* side; floor->direction = 1; |