summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-wpnench.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-07-04 09:52:03 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-07-04 12:30:02 -0400
commit0556778dcb5a45df7acc9d40ade0de40919873b9 (patch)
treed7c066ea435719b334c393c019a811efa90a156b /crawl-ref/source/spl-wpnench.cc
parent4a4df5a50d7148d5e1bf36c8bcc49227142ff9cb (diff)
downloadcrawl-ref-0556778dcb5a45df7acc9d40ade0de40919873b9.tar.gz
crawl-ref-0556778dcb5a45df7acc9d40ade0de40919873b9.zip
Symbolise.
Diffstat (limited to 'crawl-ref/source/spl-wpnench.cc')
-rw-r--r--crawl-ref/source/spl-wpnench.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spl-wpnench.cc b/crawl-ref/source/spl-wpnench.cc
index 82e55731c3..d9c6aabd63 100644
--- a/crawl-ref/source/spl-wpnench.cc
+++ b/crawl-ref/source/spl-wpnench.cc
@@ -108,9 +108,9 @@ void end_weapon_brand(item_def &weapon, bool verbose)
ASSERT(you.duration[DUR_WEAPON_BRAND]);
const int temp_effect = get_weapon_brand(weapon);
- set_item_ego_type(weapon, OBJ_WEAPONS, you.props["orig brand"]);
+ set_item_ego_type(weapon, OBJ_WEAPONS, you.props[ORIGINAL_BRAND_KEY]);
you.wield_change = true;
- you.props.erase("orig brand");
+ you.props.erase(ORIGINAL_BRAND_KEY);
you.duration[DUR_WEAPON_BRAND] = 0;
if (verbose)
{
@@ -269,7 +269,7 @@ spret_type brand_weapon(brand_type which_brand, int power, bool fail)
{
if (has_temp_brand)
end_weapon_brand(weapon);
- you.props["orig brand"] = get_weapon_brand(weapon);
+ you.props[ORIGINAL_BRAND_KEY] = get_weapon_brand(weapon);
set_item_ego_type(weapon, OBJ_WEAPONS, which_brand);
you.wield_change = true;
}