Make the ignore_flags field of item_def::name() work with more flags.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6075 c06c8d41-db1a-0410-9941-cceddc491573

Created by  zelgadis  on June 23, 2008
VDRGAYGX3X3CY3Z4DU7WJAFFFC22GDVF2FXQDNUNOH3REFUC2CPQC
Change contents