struct nstr_item ni;
struct natstr *np;
- if (sp->sct_type == SCT_BTOWER)
- mpr(sp->sct_own,
- "Crumble... SCREEEECH! Splash! Bridge tower falls at %s!\n",
- xyas(sp->sct_x, sp->sct_y, sp->sct_own));
- else
- mpr(sp->sct_own,
- "Crumble... SCREEEECH! Splash! Bridge falls at %s!\n",
- xyas(sp->sct_x, sp->sct_y, sp->sct_own));
+ mpr(sp->sct_own,
+ "Crumble... SCREEEECH! Splash! Bridge%s falls at %s!\n",
+ sp->sct_type == SCT_BTOWER ? " tower" : "",
+ xyas(sp->sct_x, sp->sct_y, sp->sct_own));
sp->sct_type = SCT_WATER;
sp->sct_newtype = SCT_WATER;
makelost(EF_SECTOR, sp->sct_own, 0, sp->sct_x, sp->sct_y);
if (newdam) {
/* If only subs responded, then we don't know who's
subs they are */
- if (osubs) {
- mpr(victim,
- "Enemy interdiction mission does %d damage!\n",
- newdam);
- } else {
- mpr(victim,
- "%s interdiction mission does %d damage!\n",
- cname(cn), newdam);
- }
+ mpr(victim, "%s interdiction mission does %d damage!\n",
+ osubs ? "Enemy" : cname(cn), newdam);
}
}
if (dam) {
"RUMBLE... your sub in %s hears a depth-charge explode nearby\n",
xyas(x, y, victim));
} else if (*s == 's') {
- mpr(victim,
- "SPLASH! Bombs miss your %s in %s\n",
+ mpr(victim, "SPLASH! Bombs miss your %s in %s\n",
s, xyas(x, y, victim));
} else {
mpr(victim, "SPLAT! Bombs miss your %s in %s\n",