diff --git a/src/lib/commands/spy.c b/src/lib/commands/spy.c index 2a7ec53b..72918606 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";