diff --git a/res/config-e3a.xml b/res/config-e3a.xml index 7037ffd24..1c7abf823 100644 --- a/res/config-e3a.xml +++ b/res/config-e3a.xml @@ -130,7 +130,7 @@ - + diff --git a/src/spells/spells.c b/src/spells/spells.c index 06243dfe7..8221cdf94 100644 --- a/src/spells/spells.c +++ b/src/spells/spells.c @@ -4171,12 +4171,13 @@ static int sp_seduce(castorder * co) itmp = &itm->next; } - ADDMSG(&mage->faction->msgs, msg_message("seduce_effect_0", "mage unit items", - mage, target, items)); - i_freeall(&items); - ADDMSG(&target->faction->msgs, msg_message("seduce_effect_1", "unit", - target)); - + if (items) { + ADDMSG(&mage->faction->msgs, msg_message("seduce_effect_0", "mage unit items", + mage, target, items)); + i_freeall(&items); + ADDMSG(&target->faction->msgs, msg_message("seduce_effect_1", "unit", + target)); + } return cast_level; }