diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-05-08 18:59:59 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-05-08 20:15:58 +0200 |
commit | 6ef98743b002c48fb3bf720fb07936e34926b313 (patch) | |
tree | b834dbbc9501533a29e612d9594c72e749105766 /src/lua_bind.c | |
parent | 4275c9d3e7a44080997fce9974d442ba4f9f4a54 (diff) |
Lua: Move "Meta" spell functions to C
Diffstat (limited to 'src/lua_bind.c')
-rw-r--r-- | src/lua_bind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua_bind.c b/src/lua_bind.c index a01b1fbc..19fbf529 100644 --- a/src/lua_bind.c +++ b/src/lua_bind.c @@ -245,7 +245,7 @@ s32b get_level_device(s32b s, s32b max, s32b min) return lvl; } -static int get_mana(s32b s) { +int get_mana(s32b s) { return exec_lua(format("return get_mana(%d)", s)); } |