From 127f4d6985d998c65d958907758e474edb29ceec Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Tue, 29 May 2012 05:11:28 +0200 Subject: Lua: Use get_level_s to avoid C->Lua->C loop --- src/spells3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/spells3.c') 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); } -- cgit v1.2.3