]> git.pond.sub.org Git - empserver/commitdiff
Fix assault not to send bogus telex to country 0
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 10 Mar 2009 19:50:47 +0000 (20:50 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 10 Mar 2009 19:50:47 +0000 (20:50 +0100)
Happened when a spy got caught sneaking ashore and shot.

src/lib/commands/assa.c

index 2d121a1c1b717680d06aa56c748a65b35f4fca4f..97b138c4ad21e27a8ac63973bf49f8194497a3d5 100644 (file)
@@ -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,