bomb: Include position when reporting bombed land unit
Use the exact same format as for ships. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
a2beecf26c
commit
ce7f44a887
2 changed files with 18 additions and 17 deletions
|
@ -667,8 +667,9 @@ land_bomb(struct emp_qelem *list, struct sctstr *target)
|
|||
dam = 100;
|
||||
own = land.lnd_own;
|
||||
if (own != player->cnum)
|
||||
mpr(own, "%s pinpoint bombing raid did %d damage to %s\n",
|
||||
cname(player->cnum), dam, prland(&land));
|
||||
mpr(own, "%s bombs did %d%% damage to %s at %s\n",
|
||||
cname(player->cnum), dam, prland(&land),
|
||||
xyas(target->sct_x, target->sct_y, own));
|
||||
landdamage(&land, dam);
|
||||
if (dam && (land.lnd_rflags & RET_INJURED))
|
||||
retreat_land(&land, 'i');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue