forked from github/server
covevrity CID 220614
This commit is contained in:
parent
adc03b75bc
commit
56beb0f4ab
|
@ -561,7 +561,7 @@ curse *create_curse(unit * magician, attrib ** ap, const curse_type * ct,
|
|||
}
|
||||
set_curseingmagician(magician, *ap, ct);
|
||||
}
|
||||
else {
|
||||
else if (ap) {
|
||||
c = make_curse(magician, ap, ct, vigour, duration, effect, men);
|
||||
}
|
||||
return c;
|
||||
|
|
Loading…
Reference in New Issue