summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mgrow.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-18 17:43:28 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-18 17:43:28 +0000
commit7859ec7d106b545be9ea1488408ef9a8b286dfa3 (patch)
treed19c50ab4276120994fb079fa18f408e1e00607f /crawl-ref/source/mgrow.cc
parent9343efdd70ffadb2c1eeeb40bec21cfc2e0f7448 (diff)
downloadcrawl-ref-7859ec7d106b545be9ea1488408ef9a8b286dfa3.tar.gz
crawl-ref-7859ec7d106b545be9ea1488408ef9a8b286dfa3.zip
Simplify.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10720 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mgrow.cc')
-rw-r--r--crawl-ref/source/mgrow.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/mgrow.cc b/crawl-ref/source/mgrow.cc
index c707f49ad8..e2a2548c8a 100644
--- a/crawl-ref/source/mgrow.cc
+++ b/crawl-ref/source/mgrow.cc
@@ -143,10 +143,7 @@ void monsters::upgrade_type(monster_type after, bool adjust_hd,
// An ugly thing is the only ghost demon monster that can level up.
// If one has leveled up to a very ugly thing, upgrade it properly.
if (type == MONS_VERY_UGLY_THING)
- {
- ghost->ugly_thing_to_very_ugly_thing();
- uglything_init();
- }
+ uglything_upgrade();
}
bool monsters::level_up_change()