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/q_poison.cc | |
parent | a07a80ac3cf4cd61a91f25092342142cc68894b1 (diff) |
Rework MONSTER_EXP into a function
Diffstat (limited to 'src/q_poison.cc')
-rw-r--r-- | src/q_poison.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/q_poison.cc b/src/q_poison.cc index 0bbe6f8b..29993fff 100644 --- a/src/q_poison.cc +++ b/src/q_poison.cc @@ -87,7 +87,7 @@ static bool_ quest_poison_gen_hook(void *, void *, void *) if (m_ptr->level < p_ptr->lev) { - m_ptr->exp = MONSTER_EXP(m_ptr->level + randint(p_ptr->lev - m_ptr->level)); + m_ptr->exp = monster_exp(m_ptr->level + randint(p_ptr->lev - m_ptr->level)); monster_check_experience(m_idx, TRUE); } } |