diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:55 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:55 +0100 |
commit | a53ffb9d26322296b64f23fe0ae72a245802a9b0 (patch) | |
tree | dfedb82c898f7f6ee18ee9842614366d0820182c /src/spells4.cc | |
parent | 5db9e06833d5a98ab3e9fefc2eb2de6680d4c59b (diff) |
Change get_level_school() to use direct spell_type pointer instead of index
Diffstat (limited to 'src/spells4.cc')
-rw-r--r-- | src/spells4.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spells4.cc b/src/spells4.cc index 0e97c0f0..31811449 100644 --- a/src/spells4.cc +++ b/src/spells4.cc @@ -431,7 +431,7 @@ int print_spell(cptr label_, byte color, int y, s32b s) char level_str[8] = "n/a"; char buf[128]; - get_level_school(s, 50, -50, &level, &na); + get_level_school(spell, 50, -50, &level, &na); spell_school_name(sch_str, spell); if (!na) |