summaryrefslogtreecommitdiff
path: root/src/skills.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/skills.c')
-rw-r--r--src/skills.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/skills.c b/src/skills.c
index acb63999..2a0a4f18 100644
--- a/src/skills.c
+++ b/src/skills.c
@@ -553,8 +553,10 @@ void do_cmd_skill()
if (wizard && (c == '-')) skill_bonus[table[sel][0]] -= SKILL_STEP;
/* Contextual help */
- if (c == '?') exec_lua(format("ingame_help('select_context', 'skill', '%s')", s_info[table[sel][0]].name + s_name));
- ;
+ if (c == '?')
+ {
+ help_skill(s_info[table[sel][0]].name + s_name);
+ }
/* Handle boundaries and scrolling */
if (sel < 0) sel = max - 1;