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:
Markus Armbruster 2009-03-10 20:50:47 +01:00
parent c16ed9c405
commit 7c6e56bd02

View file

@ -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,