covevrity CID 220614

This commit is contained in:
Enno Rehling 2021-04-09 22:35:11 +02:00
parent adc03b75bc
commit 56beb0f4ab
1 changed files with 1 additions and 1 deletions

View File

@ -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;