BUG 2564: show new spells.

This commit is contained in:
Enno Rehling 2019-03-02 05:03:43 +01:00
parent a4b4ba3859
commit 5dd12df100
1 changed files with 1 additions and 1 deletions

View File

@ -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;