summaryrefslogtreecommitdiff
path: root/src/spells4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spells4.c')
-rw-r--r--src/spells4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spells4.c b/src/spells4.c
index 4fd51cbe..e58ac4ea 100644
--- a/src/spells4.c
+++ b/src/spells4.c
@@ -491,7 +491,7 @@ static void spell_school_name(char *buf, spell_type *spell)
school_idx = sglib_school_idx_it_next(&sit))
{
int sch = school_idx->i;
- school_type *school = grab_school_type(sch);
+ school_type *school = school_at(sch);
/* Add separator? */
if (!first)
{