forked from github/server
reference-counting error
This commit is contained in:
parent
226e29d040
commit
c343b33cce
|
@ -3676,7 +3676,7 @@ sp_summonundead(castorder *co)
|
||||||
if (!fval(u->faction, FL_DH) ) {
|
if (!fval(u->faction, FL_DH) ) {
|
||||||
if (!m) m = msg_message("summonundead_effect", "unit", mage);
|
if (!m) m = msg_message("summonundead_effect", "unit", mage);
|
||||||
fset(u->faction, FL_DH);
|
fset(u->faction, FL_DH);
|
||||||
ADDMSG(&u->faction->msgs, m);
|
add_message(&u->faction->msgs, m);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (m) msg_release(m);
|
if (m) msg_release(m);
|
||||||
|
|
Loading…
Reference in New Issue