summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/transform.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-09-22 18:36:51 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-09-22 18:36:51 +0200
commit0ac8e2a4ac1ce300012599ed7cea2017eb9d348d (patch)
treec20f56a2984ed9e2fcd452e9f7f2f29248871901 /crawl-ref/source/transform.h
parent274191217f4155c3c7d63434f88957d20f931393 (diff)
downloadcrawl-ref-0ac8e2a4ac1ce300012599ed7cea2017eb9d348d.tar.gz
crawl-ref-0ac8e2a4ac1ce300012599ed7cea2017eb9d348d.zip
Untangle redundancy, get rid of can_equip(), fix hats with beaks/horns.
can_equip() for some slots wanted all items, for some only hard ones. And all checks there were already done elsewhere.
Diffstat (limited to 'crawl-ref/source/transform.h')
-rw-r--r--crawl-ref/source/transform.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/transform.h b/crawl-ref/source/transform.h
index afa138174b..cc98506d85 100644
--- a/crawl-ref/source/transform.h
+++ b/crawl-ref/source/transform.h
@@ -21,8 +21,6 @@ bool form_changed_physiology(transformation_type form = you.form);
bool form_can_wear_item(const item_def& item,
transformation_type form = you.form);
-bool can_equip(equipment_type use_which, bool temp);
-
bool feat_dangerous_for_form(transformation_type which_trans,
dungeon_feature_type feat);
bool transform(int pow, transformation_type which_trans, bool force = false,