fire: Report which ship or land unit is ready to fire
Just like for sectors. Useful when multiple ships or land units fire. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
cb05f13c93
commit
30ce78d6df
3 changed files with 51 additions and 0 deletions
|
@ -155,6 +155,7 @@ multifire(void)
|
|||
pr("%s -- not enough shells\n", prland(&fland));
|
||||
continue;
|
||||
}
|
||||
pr("%s%s ready to fire\n", sep, prland(&fland));
|
||||
fx = fland.lnd_x;
|
||||
fy = fland.lnd_y;
|
||||
} else if (type == EF_SHIP) {
|
||||
|
@ -183,6 +184,7 @@ multifire(void)
|
|||
pr("Ship #%d is crippled!\n", item.ship.shp_uid);
|
||||
continue;
|
||||
}
|
||||
pr("%s%s ready to fire\n", sep, prship(&fship));
|
||||
fx = fship.shp_x;
|
||||
fy = fship.shp_y;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue