summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.cc
diff options
context:
space:
mode:
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 ))