relations: Encapsulate relates[] in relations_string()

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2016-10-31 15:24:09 +01:00
parent 0b05f11d28
commit 129fe58c19
3 changed files with 15 additions and 10 deletions

View file

@ -86,11 +86,11 @@ setrel(natid us, natid them, enum relations rel)
if (addendum && us == player->cnum && !update_running)
pr("%s\n", addendum);
mpr(us, "Diplomatic relations with %s %s to \"%s\".\n",
cname(them), whichway, relates[rel]);
cname(them), whichway, relations_string(rel));
if (nat_accepts(them, us, REJ_TELE))
mpr(them,
"Country %s has %s their relations with you to \"%s\"!\n",
prnat(mynp), whichway, relates[rel]);
prnat(mynp), whichway, relations_string(rel));
mynp->nat_relate[them] = rel;
putnat(mynp);