From 007ead191a6de85b5b12ccc0c5979a4e9661659a Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 28 Nov 2008 11:58:20 +0000 Subject: * Fixed a few issues with transformations. * Moved fixed arts' plusses, name and colour into a struct in randart.cc. (This should maybe be moved into unrand.h.) Name and description are now stored in the props vector like for randarts, and artefact_name() now handles all randarts, unrandarts and fixed artefacts. The Knife of Accuracy should probably be turned into an unrandart. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7673 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index b386f0f4cb..3e1d8450fa 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -571,8 +571,8 @@ bool you_can_wear(int eq, bool special_armour) if (you.species == SP_GHOUL && eq == EQ_GLOVES) return (false); - if (eq == EQ_HELMET - && (player_mutation_level(MUT_HORNS) || player_mutation_level(MUT_BEAK))) + if (eq == EQ_HELMET && (player_mutation_level(MUT_HORNS) + || player_mutation_level(MUT_BEAK))) { return (special_armour); } -- cgit v1.2.3-54-g00ecf