summaryrefslogtreecommitdiff
path: root/src/help.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
committerBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
commitd33961f89a0c80f2fae4020184e72467b5c192cf (patch)
tree0144849f69a8c202873f44975bdf11f9cd771c1e /src/help.cc
parent3cdeb22086fc177165acb2d7b6530ccc230ec8e6 (diff)
Move race_info and race_mod_info to GameEditData
Diffstat (limited to 'src/help.cc')
-rw-r--r--src/help.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/help.cc b/src/help.cc
index 55051bfa..1997717e 100644
--- a/src/help.cc
+++ b/src/help.cc
@@ -703,14 +703,14 @@ static context_help_type *find_context_help(context_help_type table[], cptr key)
/*
* Racial help
*/
-void help_race(cptr race)
+void help_race(std::string const &race)
{
- show_context_help(find_context_help(race_table, race));
+ show_context_help(find_context_help(race_table, race.c_str()));
}
-void help_subrace(cptr subrace)
+void help_subrace(std::string const &subrace)
{
- show_context_help(find_context_help(subrace_table, subrace));
+ show_context_help(find_context_help(subrace_table, subrace.c_str()));
}
void help_class(std::string const &klass)