summaryrefslogtreecommitdiff
path: root/src/traps.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/traps.cc')
-rw-r--r--src/traps.cc2
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);