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:
Markus Armbruster 2008-05-11 10:05:25 +02:00
parent bb7c8665e4
commit ba5c360ca7

View file

@ -135,8 +135,6 @@ detonate(struct nukstr *np, coord x, coord y, int airburst)
sprintf(buf, "did %d%%%% damage in %%s\n", damage);
bp = buf;
}
if ((type == SCT_CAPIT || type == SCT_MOUNT) && damage >= 100)
caploss(&sect, own, "\n%s lost its capital!\n\n");
(void)putsect(&sect);
if (type != SCT_WATER)
nreport(bombown, N_NUKE, own, 1);