diff --git a/src/battle.c b/src/battle.c index a47db8163..319aa4151 100644 --- a/src/battle.c +++ b/src/battle.c @@ -1691,7 +1691,7 @@ void do_combatmagic(battle * b, combatmagic_t was) if (was == DO_PRECOMBATSPELL) { for (s = b->sides; s != b->sides + b->nsides; ++s) { fighter *fig = 0; - if (fval(s->faction, FFL_CURSED) && s->bf->attacker) { + if (s->bf->attacker && fval(s->faction, FFL_CURSED)) { spell *sp = find_spell("igjarjuk"); if (sp) { int si; diff --git a/src/kernel/spell.c b/src/kernel/spell.c index 6b161fc99..05e1ab8e8 100644 --- a/src/kernel/spell.c +++ b/src/kernel/spell.c @@ -113,7 +113,7 @@ spell *find_spell(const char *name) cb_get_kv(match, &sp, sizeof(sp)); } else { - log_warning("find_spell: could not find spell '%s'\n", name); + log_debug("find_spell: could not find spell '%s'\n", name); } return sp; }