From 48ba06732c33bfdd93972edd0e0c354140fdf092 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Tue, 10 Mar 2009 20:50:47 +0100 Subject: [PATCH] Fix assault not to send bogus telex to country 0 Happened when a spy got caught sneaking ashore and shot. (cherry picked from commit 7c6e56bd02d5a1dcfca6324bc1e4f788a42c8fcd) --- src/lib/commands/assa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/commands/assa.c b/src/lib/commands/assa.c index 2d121a1c1..97b138c4a 100644 --- a/src/lib/commands/assa.c +++ b/src/lib/commands/assa.c @@ -181,7 +181,7 @@ assa(void) pr(" and was killed in the attempt.\n"); llp->unit.land.lnd_effic = 0; putland(llp->unit.land.lnd_uid, &llp->unit.land); - lnd_delete(llp, ""); + lnd_delete(llp, NULL); } else { wu(0, def->own, "%s spy spotted in %s.\n", cname(player->cnum), xyas(def->x, def->y, -- 2.43.0