]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/xdump.c
Remove option TREATIES
[empserver] / src / lib / commands / xdump.c
index 65390e356811f3f04e3be7920089c92049296b5c..3b245b66773979915865e24a3dc0259d3b47aec0 100644 (file)
@@ -46,7 +46,6 @@ static int
 xdvisible(int type, void *p)
 {
     struct empobj *gp = p;
-    struct trtstr *tp = p;
     struct lonstr *lp = p;
     struct natstr *natp;
     int tlev;
@@ -67,10 +66,6 @@ xdvisible(int type, void *p)
        return gp->own == player->cnum;
     case EF_NEWS:
        return !opt_HIDDEN || player->god; /* FIXME */
-    case EF_TREATY:
-       return tp->trt_cna == player->cnum
-           || tp->trt_cnb == player->cnum
-           || player->god;
     case EF_LOAN:
        if (lp->l_status == LS_SIGNED)
            return 1;