/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
* ---
*
* detonate.c: Detonate a nuclear device in a sector.
- *
+ *
* Known contributors to this file:
* Steve McClure, 1998-2000
*/
sect.sct_fallout = MIN(fallout, FALLOUT_MAX);
}
if (damage > 100) {
- makelost(EF_SECTOR, sect.sct_own, 0, sect.sct_x, sect.sct_y);
sect.sct_oldown = 0;
sect.sct_own = 0;
if (type == SCT_WATER || type == SCT_BSPAN ||
sprintf(buf, "did %d%%%% damage in %%s\n", damage);
bp = buf;
}
- if ((type == SCT_CAPIT || type == SCT_MOUNT) && damage >= 100)
- caploss(§, own, "\n%s lost its capital!\n\n");
(void)putsect(§);
if (type != SCT_WATER)
nreport(bombown, N_NUKE, own, 1);