summaryrefslogtreecommitdiff
path: root/src/cmd5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd5.c')
-rw-r--r--src/cmd5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd5.c b/src/cmd5.c
index 5f0201fc..d0c60042 100644
--- a/src/cmd5.c
+++ b/src/cmd5.c
@@ -2409,7 +2409,7 @@ void cast_school_spell()
/* Actualy cast the choice */
if (spell != -1)
{
- exec_lua(format("cast_school_spell(%d, spell(%d))", spell, spell));
+ lua_cast_school_spell(spell, FALSE);
}
}