From: Markus Armbruster Date: Tue, 10 Mar 2009 19:50:47 +0000 (+0100) Subject: Fix assault not to send bogus telex to country 0 X-Git-Tag: v4.3.22~53 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=7c6e56bd02d5a1dcfca6324bc1e4f788a42c8fcd;hp=c16ed9c405a0d7b4ddc89b578abd4d7ad8f89921 Fix assault not to send bogus telex to country 0 Happened when a spy got caught sneaking ashore and shot. --- 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,