diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-05-29 06:25:07 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-05-29 18:18:10 +0200 |
commit | d98a999477698bb0a304c4995df44f2b7ef5389d (patch) | |
tree | e0d30c7a705368f7991371a143a9c4c7b06faf60 /src/init2.c | |
parent | 127f4d6985d998c65d958907758e474edb29ceec (diff) |
Lua: Convert all the spell metadata to C code
(Yay automated translation!)
Diffstat (limited to 'src/init2.c')
-rw-r--r-- | src/init2.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/init2.c b/src/init2.c index 9e9911f8..f195c469 100644 --- a/src/init2.c +++ b/src/init2.c @@ -1960,10 +1960,8 @@ static errr init_misc(void) message__tail = MESSAGE_BUF; /* Prepare schools */ - max_spells = 0; max_schools = 0; schools = NULL; - school_spells = NULL; process_hooks(HOOK_INIT_GAME, "(s)", "begin"); @@ -2067,13 +2065,6 @@ static errr init_wilderness(void) return 0; } -void init_spells(s16b new_size) -{ - /* allocate the extra memory */ - C_MAKE(school_spells, new_size, spell_type); - max_spells = new_size; -} - void init_schools(s16b new_size) { /* allocate the extra memory */ |