Use relations_with() in player_relstr()

No functional change, because argument is never player->cnum.
This commit is contained in:
Markus Armbruster 2011-01-30 16:26:22 +01:00
parent 8cb7b75557
commit 97543baadb

View file

@ -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";