summaryrefslogtreecommitdiff
path: root/src/cmd6.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd6.c')
-rw-r--r--src/cmd6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd6.c b/src/cmd6.c
index db89c465..eaeee333 100644
--- a/src/cmd6.c
+++ b/src/cmd6.c
@@ -3683,7 +3683,7 @@ void do_cmd_use_staff(void)
ident = FALSE;
/* get the chance */
- chance = exec_lua(format("return spell_chance(%d)", o_ptr->pval2));
+ chance = spell_chance(o_ptr->pval2);
/* Extract object flags */
object_flags(o_ptr, &f1, &f2, &f3, &f4, &f5, &esp);
@@ -3877,7 +3877,7 @@ void do_cmd_aim_wand(void)
set_stick_mode(o_ptr);
/* get the chance */
- chance = exec_lua(format("return spell_chance(%d)", o_ptr->pval2));
+ chance = spell_chance(o_ptr->pval2);
/* Extract object flags */
object_flags(o_ptr, &f1, &f2, &f3, &f4, &f5, &esp);