summaryrefslogtreecommitdiff
path: root/lib/scpt/library.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/scpt/library.lua')
-rw-r--r--lib/scpt/library.lua11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/scpt/library.lua b/lib/scpt/library.lua
index 99c2c0f4..9939b3eb 100644
--- a/lib/scpt/library.lua
+++ b/lib/scpt/library.lua
@@ -184,16 +184,7 @@ function library_quest.print_spell(color, y, spl)
local lvl, na = get_level_school(s, 50, -50)
local xx, sch_str
- xx = nil
- sch_str = ""
- for index, sch in __spell_school[s] do
- if xx then
- sch_str = sch_str.."/"..school(sch).name
- else
- xx = 1
- sch_str = sch_str..school(sch).name
- end
- end
+ sch_str = spell_school_name(s)
if s == spl then
if na then