summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/transfor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/transfor.cc')
-rw-r--r--crawl-ref/source/transfor.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/transfor.cc b/crawl-ref/source/transfor.cc
index 3bdb081fe8..3e28135e9d 100644
--- a/crawl-ref/source/transfor.cc
+++ b/crawl-ref/source/transfor.cc
@@ -588,8 +588,12 @@ void untransform(void)
// Removed barding check, no transformed creatures can wear barding
// anyway.
- if (you.species == SP_NAGA || you.species == SP_CENTAUR)
+ // *coughs* Ahem, blade hands... -- jpeg
+ if ((you.species == SP_NAGA || you.species == SP_CENTAUR)
+ && you.inv[you.equip[EQ_BOOTS]].sub_type == ARM_BOOTS)
+ {
remove_one_equip(EQ_BOOTS);
+ }
if (hp_downscale != 10 && you.hp != you.hp_max)
{