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/traps.cc | |
parent | a07a80ac3cf4cd61a91f25092342142cc68894b1 (diff) |
Rework MONSTER_EXP into a function
Diffstat (limited to 'src/traps.cc')
-rw-r--r-- | src/traps.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/traps.cc b/src/traps.cc index 716e8bd6..5222fcd1 100644 --- a/src/traps.cc +++ b/src/traps.cc @@ -2622,7 +2622,7 @@ bool_ mon_hit_trap_aux_potion(int m_idx, object_type *o_ptr) case SV_POTION_EXPERIENCE: if (m_ptr->level < MONSTER_LEVEL_MAX) { - m_ptr->exp = MONSTER_EXP(m_ptr->level + 1); + m_ptr->exp = monster_exp(m_ptr->level + 1); monster_check_experience(m_idx, FALSE); } return (FALSE); |