reference-counting error

This commit is contained in:
Enno Rehling 2007-02-11 22:41:11 +00:00
parent 226e29d040
commit c343b33cce
1 changed files with 1 additions and 1 deletions

View File

@ -3676,7 +3676,7 @@ sp_summonundead(castorder *co)
if (!fval(u->faction, FL_DH) ) {
if (!m) m = msg_message("summonundead_effect", "unit", mage);
fset(u->faction, FL_DH);
ADDMSG(&u->faction->msgs, m);
add_message(&u->faction->msgs, m);
}
}
if (m) msg_release(m);