]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/play.c
Use relations_with() for getrel(NP, THEM) where NP isn't THEM
[empserver] / src / lib / commands / play.c
index e8a64fa249db6785c11209528e3fa6aefb9b4866..8775ad2388fa27ad24b03f1b263270d72477e29d 100644 (file)
@@ -90,7 +90,7 @@ play_list(struct player *joe)
        /* This isn't us.  Can we see it? */
        if (natp->nat_stat == STAT_VIS) {
            /* Yes, we can see visitors are logged on */
-       } else if (getrel(natp, player->cnum) < ALLIED) {
+       } else if (relations_with(joe->cnum, player->cnum) < ALLIED) {
            /* This is a non-allied country, don't show it. */
            return 0;
        }