diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-05-30 05:33:44 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-05-30 20:08:05 +0200 |
commit | 1b9ce2b53e26ed2d983efb9da10eb2be89d6d705 (patch) | |
tree | 1e1a6071fdf11515bf9f3e98fc83b7117045a241 /src/init2.c | |
parent | fbc40366c8a50a695fcb913c5f25d717330e9672 (diff) |
Lua: Migrate spell schools to C
Diffstat (limited to 'src/init2.c')
-rw-r--r-- | src/init2.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/init2.c b/src/init2.c index f195c469..0ce8c1a0 100644 --- a/src/init2.c +++ b/src/init2.c @@ -1959,10 +1959,7 @@ static errr init_misc(void) /* Hack -- No messages yet */ message__tail = MESSAGE_BUF; - /* Prepare schools */ - max_schools = 0; - schools = NULL; - + /* Initialize game */ process_hooks(HOOK_INIT_GAME, "(s)", "begin"); /* Initialise the values */ @@ -2065,13 +2062,6 @@ static errr init_wilderness(void) return 0; } -void init_schools(s16b new_size) -{ - /* allocate the extra memory */ - C_MAKE(schools, new_size, school_type); - max_schools = new_size; -} - /* * Initialise some other arrays */ |