X-Git-Url: http://git.pond.sub.org/?p=empserver;a=blobdiff_plain;f=src%2Flib%2Fcommands%2Fspy.c;h=729186061f37abe2b8a3131d32261c213ffc7e14;hp=2a7ec53bd4de1220e01bdc244e08a1b51b460c0a;hb=97543baadb5ad7c56dc4856f34aee1f8d149420f;hpb=8cb7b755574f67e43d752fb46cf090ee6d23177a diff --git a/src/lib/commands/spy.c b/src/lib/commands/spy.c index 2a7ec53bd..729186061 100644 --- a/src/lib/commands/spy.c +++ b/src/lib/commands/spy.c @@ -254,7 +254,7 @@ prplanes(int x, int y) static char * player_relstr(natid them) { - int rel = getrel(getnatp(player->cnum), them); + int rel = relations_with(player->cnum, them); if (rel == ALLIED) return "Allied";