Simplify detonate() to avoid compiler warning
This commit is contained in:
parent
e0cb1b66b3
commit
e5a43ebe26
1 changed files with 1 additions and 2 deletions
|
@ -102,10 +102,9 @@ detonate(struct nukstr *np, coord x, coord y, int airburst)
|
||||||
nreport(bombown, N_NUKE, own, 1);
|
nreport(bombown, N_NUKE, own, 1);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (opt_FALLOUT)
|
|
||||||
fallout = sect.sct_fallout;
|
|
||||||
sect_damage(§, damage);
|
sect_damage(§, damage);
|
||||||
if (opt_FALLOUT) {
|
if (opt_FALLOUT) {
|
||||||
|
fallout = sect.sct_fallout;
|
||||||
if (ncp->n_flags & N_NEUT)
|
if (ncp->n_flags & N_NEUT)
|
||||||
fallout += damage * 30;
|
fallout += damage * 30;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue