summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-13 08:03:10 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-13 08:03:10 +0000
commit6be49f6bbc97b009200844fd8f3d6f8f07dacacf (patch)
tree3dc151b367505bc35dcc48a4098a8d557a4ab22b /crawl-ref/source/skills2.cc
parent0a577362dfe772e6e13eebce39489327b282c98d (diff)
downloadcrawl-ref-6be49f6bbc97b009200844fd8f3d6f8f07dacacf.tar.gz
crawl-ref-6be49f6bbc97b009200844fd8f3d6f8f07dacacf.zip
More naming fixes. We should integrate helmets somehow.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1292 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/skills2.cc')
-rw-r--r--crawl-ref/source/skills2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/skills2.cc b/crawl-ref/source/skills2.cc
index 7564251801..60041b08d7 100644
--- a/crawl-ref/source/skills2.cc
+++ b/crawl-ref/source/skills2.cc
@@ -2337,7 +2337,7 @@ void wield_warning(bool newWeapon)
return;
// put the standard wep name in.
- strcat(wepstr, item_base_name(wep));
+ strcat(wepstr, item_base_name(wep).c_str());
// only warn about str/dex for non-launcher weapons
if (!is_range_weapon( wep ))