summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mgrow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mgrow.cc')
-rw-r--r--crawl-ref/source/mgrow.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mgrow.cc b/crawl-ref/source/mgrow.cc
index 4af2ad1467..c847cfb67b 100644
--- a/crawl-ref/source/mgrow.cc
+++ b/crawl-ref/source/mgrow.cc
@@ -79,7 +79,7 @@ mons_experience_levels::mons_experience_levels()
}
}
-static const _monster_level_up *monster_level_up_target( monster_type type,
+static const monster_level_up *_monster_level_up_target( monster_type type,
int hit_dice)
{
for (unsigned i = 0; i < ARRAYSZ(mon_grow); ++i)
@@ -141,7 +141,7 @@ void monsters::upgrade_type(monster_type after, bool adjust_hd,
bool monsters::level_up_change()
{
if (const monster_level_up *lup =
- monster_level_up_target(static_cast<monster_type>(type), hit_dice))
+ _monster_level_up_target(static_cast<monster_type>(type), hit_dice))
{
upgrade_type(lup->after, false, lup->adjust_hp);
return (true);