summaryrefslogtreecommitdiff
path: root/src/spells3.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-05-29 05:11:28 +0200
committerBardur Arantsson <bardur@scientician.net>2012-05-29 05:38:19 +0200
commit127f4d6985d998c65d958907758e474edb29ceec (patch)
tree613b6cc20b517f25a6f6d96ae84a6b572cd77d0b /src/spells3.c
parente272282c1451329d16fd16efbfccc234395cba6e (diff)
Lua: Use get_level_s to avoid C->Lua->C loop
Diffstat (limited to 'src/spells3.c')
-rw-r--r--src/spells3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spells3.c b/src/spells3.c
index e7dabb83..b8632bf9 100644
--- a/src/spells3.c
+++ b/src/spells3.c
@@ -174,7 +174,7 @@ bool_ *NO_CAST = NULL;
bool_ CAST_VAL = 0xca; /* Any value will do */
bool_ *CAST = &CAST_VAL;
-static s32b get_level_s(int sp, int max)
+s32b get_level_s(int sp, int max)
{
return get_level(sp, max, 1);
}