diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-05-17 08:40:49 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-05-18 11:47:20 +0200 |
commit | 159e8b3ec190d6a99c3d42e78dc2c55bdd0f6f41 (patch) | |
tree | d62350d07472fe091aa3c7d39fbbca3649636623 /src/object1.c | |
parent | ccb4ffd3033ac953c064b590709e0a88ff659003 (diff) |
Lua: Separate get_spell_info() function
Diffstat (limited to 'src/object1.c')
-rw-r--r-- | src/object1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object1.c b/src/object1.c index b834eb91..3b418651 100644 --- a/src/object1.c +++ b/src/object1.c @@ -2847,7 +2847,7 @@ void describe_device(object_type *o_ptr) text_out_c(TERM_GREEN, string_exec_lua(format("return tostring(spell_chance(%d))", o_ptr->pval2))); text_out("\nSpell info: "); - text_out_c(TERM_YELLOW, string_exec_lua(format("return __spell_info[%d]()", o_ptr->pval2))); + text_out_c(TERM_YELLOW, get_spell_info(o_ptr->pval2)); /* Leave device mode */ unset_stick_mode(); |