summaryrefslogtreecommitdiff
path: root/src/script.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-05-29 06:25:07 +0200
committerBardur Arantsson <bardur@scientician.net>2012-05-29 18:18:10 +0200
commitd98a999477698bb0a304c4995df44f2b7ef5389d (patch)
treee0d30c7a705368f7991371a143a9c4c7b06faf60 /src/script.c
parent127f4d6985d998c65d958907758e474edb29ceec (diff)
Lua: Convert all the spell metadata to C code
(Yay automated translation!)
Diffstat (limited to 'src/script.c')
-rw-r--r--src/script.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/script.c b/src/script.c
index c9979c17..51484d3a 100644
--- a/src/script.c
+++ b/src/script.c
@@ -234,14 +234,6 @@ void init_lua_init()
exec_lua(format("finish_school(%d)", i));
}
- /* Finish up the spells */
- max = exec_lua("return __tmp_spells_num");
- init_spells(max);
- for (i = 0; i < max; i++)
- {
- exec_lua(format("finish_spell(%d)", i));
- }
-
/* Finish up the corruptions */
init_corruptions();
}