diff options
author | Simon Howard | 2008-09-17 01:05:14 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-17 01:05:14 +0000 |
commit | 55bb7e8935369cb392c705969ed626fe9c0c391c (patch) | |
tree | 8a7428c5504b089e19625d3657e75f9a8c0f2839 /src/hexen/p_local.h | |
parent | 61e77600041ba534d824943320e7ddddb8e4f6ce (diff) | |
download | chocolate-doom-55bb7e8935369cb392c705969ed626fe9c0c391c.tar.gz chocolate-doom-55bb7e8935369cb392c705969ed626fe9c0c391c.tar.bz2 chocolate-doom-55bb7e8935369cb392c705969ed626fe9c0c391c.zip |
Convert MAXINT/MININT -> INT_MAX/INT_MIN in Heretic/Hexen code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1234
Diffstat (limited to 'src/hexen/p_local.h')
-rw-r--r-- | src/hexen/p_local.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hexen/p_local.h b/src/hexen/p_local.h index 55f5e72a..b9e6c5dc 100644 --- a/src/hexen/p_local.h +++ b/src/hexen/p_local.h @@ -135,10 +135,10 @@ enum FLOOR_SLUDGE }; -#define ONFLOORZ MININT -#define ONCEILINGZ MAXINT -#define FLOATRANDZ (MAXINT-1) -#define FROMCEILINGZ128 (MAXINT-2) +#define ONFLOORZ INT_MIN +#define ONCEILINGZ INT_MAX +#define FLOATRANDZ (INT_MAX-1) +#define FROMCEILINGZ128 (INT_MAX-2) extern mobjtype_t PuffType; extern mobj_t *MissileMobj; |