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/spells2.cc | |
parent | a07a80ac3cf4cd61a91f25092342142cc68894b1 (diff) |
Rework MONSTER_EXP into a function
Diffstat (limited to 'src/spells2.cc')
-rw-r--r-- | src/spells2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spells2.cc b/src/spells2.cc index 0bb0a724..679b7b14 100644 --- a/src/spells2.cc +++ b/src/spells2.cc @@ -5331,7 +5331,7 @@ void do_probe(int m_idx) sprintf(t_name, "nothing"); msg_format("%^s target is %s.", m_name, t_name); - msg_format("%^s has %ld exp and needs %ld.", m_name, m_ptr->exp, MONSTER_EXP(m_ptr->level + 1)); + msg_format("%^s has %ld exp and needs %d.", m_name, m_ptr->exp, (int) monster_exp(m_ptr->level + 1)); } /* Learn all of the non-spell, non-treasure flags */ |