summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-26 13:41:10 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-26 13:41:10 +0000
commitd6db41124871b21f6da082e80d976a71495b6996 (patch)
treeec1a93fb80830dcf3b73a65d86e7657aa7a3bfbf /crawl-ref/source/itemprop.cc
parent61cae4a761c2f72cda44ae269c7007b37a0c14a7 (diff)
downloadcrawl-ref-d6db41124871b21f6da082e80d976a71495b6996.tar.gz
crawl-ref-d6db41124871b21f6da082e80d976a71495b6996.zip
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
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc8
1 files changed, 4 insertions, 4 deletions
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 )