fire: Change "Sector X,Y firing" to "Sector X,Y ready to fire"
It's not firing, yet. While there, trim an unwanted blank line before reporting the first sector ready. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
6b3827523e
commit
cb05f13c93
2 changed files with 36 additions and 67 deletions
|
@ -80,6 +80,7 @@ multifire(void)
|
|||
struct shpstr fship;
|
||||
struct lndstr fland;
|
||||
struct sctstr fsect;
|
||||
char *sep = "";
|
||||
struct shpstr vship;
|
||||
struct sctstr vsect;
|
||||
enum targ_type target;
|
||||
|
@ -210,11 +211,12 @@ multifire(void)
|
|||
xyas(item.sect.sct_x, item.sect.sct_y, player->cnum));
|
||||
continue;
|
||||
}
|
||||
pr("\nSector %s firing\n",
|
||||
pr("%sSector %s ready to fire\n", sep,
|
||||
xyas(item.sect.sct_x, item.sect.sct_y, player->cnum));
|
||||
fx = fsect.sct_x;
|
||||
fy = fsect.sct_y;
|
||||
}
|
||||
sep = "\n";
|
||||
|
||||
ptr = getstarg(player->argp[3], "Firing at? ", buf);
|
||||
if (!ptr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue