diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-24 13:16:48 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-24 13:16:48 +0000 |
commit | 7ec9c03e29a691f6a69d2ab3d1143437115c93a4 (patch) | |
tree | 0cf10d8571621d2529b82ad328c46a2520d60443 /crawl-ref/source/mgrow.cc | |
parent | 64cef5aae0d0d0b6b5e7320c3e96ef570b27b769 (diff) | |
download | crawl-ref-7ec9c03e29a691f6a69d2ab3d1143437115c93a4.tar.gz crawl-ref-7ec9c03e29a691f6a69d2ab3d1143437115c93a4.zip |
Fix compilation.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4589 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mgrow.cc')
-rw-r--r-- | crawl-ref/source/mgrow.cc | 4 |
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); |