summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-18 06:25:21 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-18 06:25:21 +0000
commit51211c2806b3953a2cbb2a072ac7b5c4ebb4b8c2 (patch)
tree4e91525cffb3b6f9f491d4e697b68e58c8168e4c /crawl-ref/source/itemprop.cc
parenta1ea029b205648b5b81d264ae7009cd1d31b2af2 (diff)
downloadcrawl-ref-51211c2806b3953a2cbb2a072ac7b5c4ebb4b8c2.tar.gz
crawl-ref-51211c2806b3953a2cbb2a072ac7b5c4ebb4b8c2.zip
Rename functions to avoid confusion: is_blessable() -> is_convertible(),
normal2good() -> convert2good(). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4323 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 0a6279347f..11229f3b20 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -1648,15 +1648,15 @@ bool is_blessed( const item_def &item )
return (false);
} // end is_blessed()
-bool is_blessable( const item_def &item )
+bool is_convertible( const item_def &item )
{
return (!is_artefact(item)
&& (item.base_type == OBJ_WEAPONS
&& (is_demonic(item)
|| weapon_skill(item) == SK_LONG_BLADES)));
-} // end is_blessable()
+} // end is_convertible()
-bool normal2good( item_def &item, bool allow_blessed )
+bool convert2good( item_def &item, bool allow_blessed )
{
if (item.base_type != OBJ_WEAPONS)
return (false);
@@ -1728,7 +1728,7 @@ bool normal2good( item_def &item, bool allow_blessed )
item.flags &= ~ISFLAG_RACIAL_MASK;
return (true);
-} // end normal2good()
+} // end convert2good()
int weapon_str_weight( const item_def &wpn )
{