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_rand.cc | |
parent | a07a80ac3cf4cd61a91f25092342142cc68894b1 (diff) |
Rework MONSTER_EXP into a function
Diffstat (limited to 'src/q_rand.cc')
-rw-r--r-- | src/q_rand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/q_rand.cc b/src/q_rand.cc index 0fa89f30..4dabeacc 100644 --- a/src/q_rand.cc +++ b/src/q_rand.cc @@ -355,7 +355,7 @@ static void hero_death(s32b m_idx, s32b r_idx) m_allow_special[test_monster_name("Adventurer")] = FALSE; if (m_idx) { - m_list[m_idx].exp = MONSTER_EXP(1 + (dun_level * 3 / 2)); + m_list[m_idx].exp = monster_exp(1 + (dun_level * 3 / 2)); m_list[m_idx].status = MSTATUS_COMPANION; monster_check_experience(m_idx, TRUE); } |