Use relations_with() in player_relstr()
No functional change, because argument is never player->cnum.
This commit is contained in:
parent
8cb7b75557
commit
97543baadb
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ prplanes(int x, int y)
|
||||||
static char *
|
static char *
|
||||||
player_relstr(natid them)
|
player_relstr(natid them)
|
||||||
{
|
{
|
||||||
int rel = getrel(getnatp(player->cnum), them);
|
int rel = relations_with(player->cnum, them);
|
||||||
|
|
||||||
if (rel == ALLIED)
|
if (rel == ALLIED)
|
||||||
return "Allied";
|
return "Allied";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue