summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.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/describe.cc
parent4a4df5a50d7148d5e1bf36c8bcc49227142ff9cb (diff)
downloadcrawl-ref-0556778dcb5a45df7acc9d40ade0de40919873b9.tar.gz
crawl-ref-0556778dcb5a45df7acc9d40ade0de40919873b9.zip
Symbolise.
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index d3d1bfeb6f..9b22c858c3 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -60,6 +60,7 @@
#include "env.h"
#include "spl-cast.h"
#include "spl-util.h"
+#include "spl-wpnench.h"
#include "stash.h"
#include "terrain.h"
#include "transform.h"
@@ -1008,12 +1009,12 @@ static string _describe_weapon(const item_def &item, bool verbose)
if (you.duration[DUR_WEAPON_BRAND] && &item == you.weapon())
{
description += "\nIt is temporarily rebranded; it is actually a";
- if ((int) you.props["orig brand"] == SPWPN_NORMAL)
+ if ((int) you.props[ORIGINAL_BRAND_KEY] == SPWPN_NORMAL)
description += "n unbranded weapon.";
else
{
description += " weapon of "
- + ego_type_string(item, false, you.props["orig brand"])
+ + ego_type_string(item, false, you.props[ORIGINAL_BRAND_KEY])
+ ".";
}
}