diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
commit | c84490dd6fb5d1e85482c2271e00cb768bae410e (patch) | |
tree | c2043c4f418f7565c911b88d6aa926d4b3747230 /src/help.cc | |
parent | dd76070a7d8676a5f13dcc91fc7ed2eb2639d9df (diff) |
Change ability_type::{name, desc, action_desc} to std::string
Diffstat (limited to 'src/help.cc')
-rw-r--r-- | src/help.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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())); } |