summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-21 02:22:03 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-21 02:22:03 +0000
commit0c496e0be392bbf839533c9d69da1499b883b3ac (patch)
tree113f5b56928b11cbd7049535cdbb815d49f6d6d4 /crawl-ref/source/monstuff.h
parentd07a34ba115b47a74496b1810c5ede4b0e86c748 (diff)
downloadcrawl-ref-0c496e0be392bbf839533c9d69da1499b883b3ac.tar.gz
crawl-ref-0c496e0be392bbf839533c9d69da1499b883b3ac.zip
Revert the splitting out of monster_change_type() from
monster_polymorph(), as it still doesn't do everything needed. Replace it with monsters::change_type(), split out from monsters::level_up_change(), which does do everything needed, and in a cleaner way. Unfortunately, it's still a hack, but it should be easier to deal with for now. Sorry for the mess. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3783 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.h')
-rw-r--r--crawl-ref/source/monstuff.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/monstuff.h b/crawl-ref/source/monstuff.h
index 622c7d587f..dca415f0ec 100644
--- a/crawl-ref/source/monstuff.h
+++ b/crawl-ref/source/monstuff.h
@@ -63,8 +63,6 @@ enum poly_power_type {
PPT_SAME
};
-void monster_change_type(monsters *monster, monster_type targetc);
-
bool monster_polymorph(monsters *monster, monster_type targetc,
poly_power_type p = PPT_SAME);