From 5dd12df1007d75b5cd196dd7770ddf2bbe7378f2 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 2 Mar 2019 05:03:43 +0100 Subject: [PATCH] BUG 2564: show new spells. --- src/laws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/laws.c b/src/laws.c index 521ff92ab..f7eba8c97 100644 --- a/src/laws.c +++ b/src/laws.c @@ -3205,7 +3205,7 @@ static int faction_getmages(faction * f, unit ** results, int numresults) for (u = f->units; u; u = u->nextF) { if (u->number > 0) { struct sc_mage * mage = get_mage(u); - if (mage && mage_get_spellbook(mage)) { + if (mage) { int level = effskill(u, SK_MAGIC, NULL); if (level > maxlevel) { maxlevel = level;