summaryrefslogtreecommitdiff
path: root/src/variable.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/variable.c
parent127f4d6985d998c65d958907758e474edb29ceec (diff)
Lua: Convert all the spell metadata to C code
(Yay automated translation!)
Diffstat (limited to 'src/variable.c')
-rw-r--r--src/variable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/variable.c b/src/variable.c
index 105bbc7f..71fb5dd8 100644
--- a/src/variable.c
+++ b/src/variable.c
@@ -1498,8 +1498,8 @@ bool_ player_char_health;
/*
* The spell list of schools
*/
-s16b max_spells;
-spell_type *school_spells;
+s16b school_spells_count = 0;
+spell_type school_spells[SCHOOL_SPELLS_MAX];
s16b max_schools;
school_type *schools;