diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:56 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:56 +0100 |
commit | cd7be5b3001b8251545af526ee6a3ee15562c930 (patch) | |
tree | 88e23b156380c6f738e3e40cc49017c91ffdb1be /src/defines.h | |
parent | a07a80ac3cf4cd61a91f25092342142cc68894b1 (diff) |
Rework MONSTER_EXP into a function
Diffstat (limited to 'src/defines.h')
-rw-r--r-- | src/defines.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/defines.h b/src/defines.h index 81ae7833..c61d603d 100644 --- a/src/defines.h +++ b/src/defines.h @@ -3068,7 +3068,6 @@ /*** Monster flag values (hard-coded) ***/ #define MONSTER_LEVEL_MAX 150 -#define MONSTER_EXP(level) ((((level) > MONSTER_LEVEL_MAX)?MONSTER_LEVEL_MAX:(level)) * (((level) > MONSTER_LEVEL_MAX)?MONSTER_LEVEL_MAX:(level)) * (((level) > MONSTER_LEVEL_MAX)?MONSTER_LEVEL_MAX:(level)) * 6) /* * New monster race bit flags |