Remove useless call of caploss() from detonate()
The call has no effect, because by that time caploss() already ran from sct_prewrite().
This commit is contained in:
parent
bb7c8665e4
commit
ba5c360ca7
1 changed files with 0 additions and 2 deletions
|
@ -135,8 +135,6 @@ detonate(struct nukstr *np, coord x, coord y, int airburst)
|
||||||
sprintf(buf, "did %d%%%% damage in %%s\n", damage);
|
sprintf(buf, "did %d%%%% damage in %%s\n", damage);
|
||||||
bp = buf;
|
bp = buf;
|
||||||
}
|
}
|
||||||
if ((type == SCT_CAPIT || type == SCT_MOUNT) && damage >= 100)
|
|
||||||
caploss(§, own, "\n%s lost its capital!\n\n");
|
|
||||||
(void)putsect(§);
|
(void)putsect(§);
|
||||||
if (type != SCT_WATER)
|
if (type != SCT_WATER)
|
||||||
nreport(bombown, N_NUKE, own, 1);
|
nreport(bombown, N_NUKE, own, 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue