From d6db41124871b21f6da082e80d976a71495b6996 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Thu, 26 Jun 2008 13:41:10 +0000 Subject: Fix the character selecting omitting letters for restricted classes (as opposed to banned ones). Tweak the code to enforce wearable body armour and shield types for all species. I'm afraid the skills need to be adjusted as well, probably in more detail, but I'm rather clueless on that account. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6147 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/itemprop.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/itemprop.cc') diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index dd26e6bd3e..f12d833682 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -841,7 +841,7 @@ void set_equip_desc( item_def &item, unsigned long flags ) } // -// These functions handle the description and subtypes for helmets/caps +// These functions handle the description and subtypes for helmets/caps. // short get_helmet_desc( const item_def &item ) { @@ -941,7 +941,7 @@ int get_ammo_brand( const item_def &item ) special_armour_type get_armour_ego_type( const item_def &item ) { - // artefact armours have no ego type, must look up powers separately + // Artefact armours have no ego type, must look up powers separately. if (item.base_type != OBJ_ARMOUR || (is_random_artefact( item ) && !is_unrandom_artefact( item ))) { @@ -952,7 +952,7 @@ special_armour_type get_armour_ego_type( const item_def &item ) } // -// Armour information and checking functions +// Armour information and checking functions. // bool hide2armour( item_def &item ) { @@ -998,7 +998,7 @@ bool hide2armour( item_def &item ) } return (true); -} // end hide2armour() +} // Return the enchantment limit of a piece of armour. int armour_max_enchant( const item_def &item ) -- cgit v1.2.3-54-g00ecf