(msl_intercept): msl_hit() expects plain WHAT argument, without owner.
Passing it with owner gets the owner printed twice. Fix.
This commit is contained in:
parent
8ef7f35a56
commit
91c316afaa
1 changed files with 2 additions and 4 deletions
|
@ -235,7 +235,6 @@ msl_intercept(coord x, coord y, natid bombown, int hardtarget,
|
|||
s_char *att_name;
|
||||
s_char *def_name;
|
||||
int news_item;
|
||||
s_char what[512];
|
||||
s_char *who = sublaunch ? (s_char *)"" : cname(bombown);
|
||||
|
||||
getsect(x, y, §);
|
||||
|
@ -259,7 +258,6 @@ msl_intercept(coord x, coord y, natid bombown, int hardtarget,
|
|||
def_name = "tomato"; /* heh -KHS */
|
||||
news_item = N_NUKE_STOP;
|
||||
}
|
||||
sprintf(what, "%s %s", who, att_name);
|
||||
irvlist = &foo;
|
||||
|
||||
/* get all hostile abms in range */
|
||||
|
@ -343,8 +341,8 @@ msl_intercept(coord x, coord y, natid bombown, int hardtarget,
|
|||
}
|
||||
|
||||
if (!destroyed &&
|
||||
msl_hit(pp, hardtarget, EF_PLANE, news_item, news_item, what,
|
||||
x, y, bombown)) {
|
||||
msl_hit(pp, hardtarget, EF_PLANE, news_item, news_item,
|
||||
att_name, x, y, bombown)) {
|
||||
mpr(bombown, "%s destroyed by %s %s!\n", att_name,
|
||||
cname(pp->pln_own), def_name);
|
||||
if (sect.sct_own)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue