We should really merge you_tran_can_wear() and the various tests in transfor.cc.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9111 c06c8d41-db1a-0410-9941-cceddc491573
A3O24OMWTAW7EHB4T7HYAMW6MXINAWHEHV6LWZI6XS3GGFWSWZQAC
const int transform = you.attribute[ATTR_TRANSFORMATION];
// All but these transformations can wear hats/caps.
return (transform != TRAN_BAT && transform != TRAN_AIR);
return (true);