Fix messages in msl_launch()
This commit is contained in:
parent
22071b4edb
commit
2178aa87f9
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ msl_launch(struct plnstr *pp, int type, char *what, coord x, coord y,
|
||||||
prplane(pp),
|
prplane(pp),
|
||||||
cname(victim),
|
cname(victim),
|
||||||
what,
|
what,
|
||||||
(type == EF_SHIP || type == EF_PLANE) ? "in " : "",
|
type != EF_SECTOR ? "in " : "",
|
||||||
xyas(x, y, pp->pln_own));
|
xyas(x, y, pp->pln_own));
|
||||||
mpr(pp->pln_own, "\tLaunching from ");
|
mpr(pp->pln_own, "\tLaunching from ");
|
||||||
if (pp->pln_ship >= 0) {
|
if (pp->pln_ship >= 0) {
|
||||||
|
@ -99,7 +99,7 @@ msl_launch(struct plnstr *pp, int type, char *what, coord x, coord y,
|
||||||
shipdamage(&ship, dam);
|
shipdamage(&ship, dam);
|
||||||
putship(ship.shp_uid, &ship);
|
putship(ship.shp_uid, &ship);
|
||||||
} else {
|
} else {
|
||||||
pr("Explosion damages %s %d%%",
|
pr("Explosion damages %s %d%%\n",
|
||||||
xyas(pp->pln_x, pp->pln_y, pp->pln_own), dam);
|
xyas(pp->pln_x, pp->pln_y, pp->pln_own), dam);
|
||||||
getsect(pp->pln_x, pp->pln_y, §);
|
getsect(pp->pln_x, pp->pln_y, §);
|
||||||
sectdamage(§, dam);
|
sectdamage(§, dam);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue