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/status.cc | |
parent | a07a80ac3cf4cd61a91f25092342142cc68894b1 (diff) |
Rework MONSTER_EXP into a function
Diffstat (limited to 'src/status.cc')
-rw-r--r-- | src/status.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/status.cc b/src/status.cc index dc0a1cac..460a77ed 100644 --- a/src/status.cc +++ b/src/status.cc @@ -741,7 +741,7 @@ static void status_companion(void) fprintf(fff, "#####BCompanion: %s\n", m_name); fprintf(fff, " Lev/Exp : [[[[[G%d / %ld]\n", m_ptr->level, (long int) m_ptr->exp); - if (m_ptr->level < MONSTER_LEVEL_MAX) fprintf(fff, " Next lvl: [[[[[G%ld]\n", (long int) MONSTER_EXP((s32b)m_ptr->level + 1)); + if (m_ptr->level < MONSTER_LEVEL_MAX) fprintf(fff, " Next lvl: [[[[[G%ld]\n", (long int) monster_exp(m_ptr->level + 1)); else fprintf(fff, " Next lvl: [[[[[G****]\n"); fprintf(fff, " HP : [[[[[G%ld / %ld]\n", (long int) m_ptr->hp, (long int) m_ptr->maxhp); |