Suppress "no damage" after "takes 0" when reporting flak
This commit is contained in:
parent
5bb4846267
commit
7defa55394
1 changed files with 2 additions and 1 deletions
|
@ -530,7 +530,8 @@ ac_planedamage(struct plist *plp, natid from, int dam, int flak,
|
||||||
|
|
||||||
*mesg = 0;
|
*mesg = 0;
|
||||||
if (dam <= 0) {
|
if (dam <= 0) {
|
||||||
snprintf(mesg, 14, " no damage");
|
if (!flak)
|
||||||
|
snprintf(mesg, 14, " no damage");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue