Fix assault not to send bogus telex to country 0
Happened when a spy got caught sneaking ashore and shot.
This commit is contained in:
parent
c16ed9c405
commit
7c6e56bd02
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ assa(void)
|
||||||
pr(" and was killed in the attempt.\n");
|
pr(" and was killed in the attempt.\n");
|
||||||
llp->unit.land.lnd_effic = 0;
|
llp->unit.land.lnd_effic = 0;
|
||||||
putland(llp->unit.land.lnd_uid, &llp->unit.land);
|
putland(llp->unit.land.lnd_uid, &llp->unit.land);
|
||||||
lnd_delete(llp, "");
|
lnd_delete(llp, NULL);
|
||||||
} else {
|
} else {
|
||||||
wu(0, def->own, "%s spy spotted in %s.\n",
|
wu(0, def->own, "%s spy spotted in %s.\n",
|
||||||
cname(player->cnum), xyas(def->x, def->y,
|
cname(player->cnum), xyas(def->x, def->y,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue