From c84490dd6fb5d1e85482c2271e00cb768bae410e Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Wed, 5 Oct 2016 18:45:08 +0200 Subject: Change ability_type::{name, desc, action_desc} to std::string --- src/help.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/help.cc') diff --git a/src/help.cc b/src/help.cc index 1997717e..b74e6584 100644 --- a/src/help.cc +++ b/src/help.cc @@ -734,7 +734,7 @@ void help_skill(cptr skill) show_context_help(find_context_help(skill_table, skill)); } -void help_ability(cptr ability) +void help_ability(std::string const &ability) { - show_context_help(find_context_help(ability_table, ability)); + show_context_help(find_context_help(ability_table, ability.c_str())); } -- cgit v1.2.3