diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-05-18 06:20:20 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-05-18 19:48:30 +0200 |
commit | 38ab9bd955e7516cdc0279dcdcf461f975fde3ef (patch) | |
tree | 4156f49c3482f99b8b09c5a87f1e5a600aba73fb /src/spells1.c | |
parent | c1f2b8f2d299d22be4ad3f2f176b6e106eeff6dc (diff) |
Lua: Move cast_school_spell() to C
Diffstat (limited to 'src/spells1.c')
-rw-r--r-- | src/spells1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spells1.c b/src/spells1.c index 477dfdb9..ccd9f489 100644 --- a/src/spells1.c +++ b/src/spells1.c @@ -1259,7 +1259,7 @@ void spellbinder_trigger() for (i = 0; i < p_ptr->spellbinder_num; i++) { msg_format("Triggering spell %s.", school_spells[p_ptr->spellbinder[i]].name); - exec_lua(format("cast_school_spell(%d, spell(%d), TRUE)", p_ptr->spellbinder[i], p_ptr->spellbinder[i])); + lua_cast_school_spell(p_ptr->spellbinder[i], TRUE); } p_ptr->spellbinder_num = 0; p_ptr->spellbinder_trigger = 0; |